freebsd-dev/sys/boot/uboot
Toomas Soome b91aad35da loader: remove open_disk cache
As we provide the disk size verification and correction via disk_ioctl
and disk state provided by disk_open(), we can not share the partition
state in disk_devdesc structure. Also the sharing does make a lot of sense
with ufs, as only one partition is open at any given time, but zfs pools
do keep the disk devices open.

To make sure we do get the correct information about the open device,
just remove the cache.

Reviewed by:	allanjude, smh
Approved by:	allanjude (mentor)
Differential Revision:	https://reviews.freebsd.org/D9757
2017-03-16 12:04:43 +00:00
..
common Reduce boot loader version string duplication 2016-12-18 13:57:23 +00:00
fdt sys/boot: spelling fixes in comments. 2016-04-30 00:26:38 +00:00
lib loader: remove open_disk cache 2017-03-16 12:04:43 +00:00
Makefile Start to allow platforms other than U-Boot to use the FDT code in loader by 2014-11-01 17:12:44 +00:00
Makefile.inc