]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r262337: Allow the boot device to be choosen by a u-boot env variable.
authorian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 29 Apr 2014 00:17:30 +0000 (00:17 +0000)
committerian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 29 Apr 2014 00:17:30 +0000 (00:17 +0000)
commit61bc997f8046a3c7d2b5db0c39aca7204dea22f1
treef5b50a489a7094857213df153aa0c42b38b2d205
parent1b300fd3ceac6f3a599efd9fcbeb91ae6ff7f4a4
MFC r262337: Allow the boot device to be choosen by a u-boot env 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.

git-svn-id: svn://svn.freebsd.org/base/stable/10@265067 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/boot/uboot/common/main.c