]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: add support for alternative boot device
authorNikita Kiryanov <nikita@compulab.co.il>
Sun, 8 Nov 2015 15:11:51 +0000 (17:11 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 18 Nov 2015 19:50:03 +0000 (14:50 -0500)
commitf101e4bd37030930f19dc5108c59544b2ee25208
tree535b01fe5553ed4b839aa4f5804e4233d6a0287e
parent5211b87e0c323e7474be9c817c9880f51459fbb9
spl: add support for alternative boot device

Introduce spl_boot_list array, which defines a list of boot devices
that SPL will try before hanging. By default this list will consist
of only spl_boot_device(), but board_boot_order() can be overridden
by board code to populate the array with custom values.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Tom Rini <trini@konsulko.com>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/spl/spl.c