freebsd-dev/sys/boot/uboot
Ian Lepore 324b64f7ac Allow the ubldr boot device to be choosen by a u-boot environment variable.
If a "loaderdev=<device>" env variable is set and the named device
exists, it is used.  If the device doesn't exist, fall back to the
historic "probe" loop that prefers disk devices over network devices.

If the env var is not set, preserve the historic behavior of using the
first working disk device provided by u-boot, or a network device if no
functional disk device is found and a network device exists.

The old probe loop is reworked so that it checks all bootable devices
provided by u-boot rather than taking an early-out on the first device
found.  This results in the cosmetic change of listing all potential boot
devices for the user, but the behavior of which device it chooses is the
same as it has always been.
2014-02-22 17:51:10 +00:00
..
common Allow the ubldr boot device to be choosen by a u-boot environment variable. 2014-02-22 17:51:10 +00:00
lib Remove all the instances of '#undef DEBUG' from kernel. 2013-10-25 18:38:44 +00:00
Makefile
Makefile.inc Rename the linker emulation name for powerpc and powerc64. This is needed that 2011-11-19 19:25:57 +00:00