freebsd-dev/sys/boot/uboot/lib
Ian Lepore 8e97c09f47 Enhance the mechanism that lets you configure the ubldr boot device by
setting the u-boot environment variable loaderdev=.  It used to accept only
'disk' or 'net'.  Now it allows specification of unit, slice, and partition
as well.  In addition to the generic 'disk' it also accepts specific
storage device types such as 'mmc' or 'sata'.

If there isn't a loaderdev env var, the historical behavior is maintained.
It will use the first storage device it finds, or a network device if
no working storage device exists.

99% of the work on this was done by Patrick Kelsey, but I made some
changes, so if anything goes wrong, blame me.

Submitted by:	Patrick Kelsey <kelsey@ieee.org>
2014-03-11 22:02:49 +00:00
..
api_public.h Enhance the mechanism that lets you configure the ubldr boot device by 2014-03-11 22:02:49 +00:00
console.c
copy.c Clarify an error message. The addresses here are 2013-02-18 20:11:20 +00:00
devicename.c Use disk_fmtdev() and disk_parsedev() functions from the new DISK API. 2012-09-09 11:32:06 +00:00
disk.c Enhance the mechanism that lets you configure the ubldr boot device by 2014-03-11 22:02:49 +00:00
elf_freebsd.c Print kernel args as late as possible before jumping into kernel. 2013-02-23 20:27:03 +00:00
glue.c Enhance the mechanism that lets you configure the ubldr boot device by 2014-03-11 22:02:49 +00:00
glue.h
libuboot.h Enhance the mechanism that lets you configure the ubldr boot device by 2014-03-11 22:02:49 +00:00
Makefile Prevent fdt data loaded from a file from overwriting the kernel environment, 2014-03-01 19:02:00 +00:00
module.c Prevent fdt data loaded from a file from overwriting the kernel environment, 2014-03-01 19:02:00 +00:00
net.c Fix NETIF_DEBUG compilation. 2009-05-30 19:28:38 +00:00
reboot.c
time.c Minor style correction. 2010-02-25 15:30:26 +00:00