u-boot-brain/common/spl
Marek Vasut 2b1cdafa9f common: Pass the boot device into spl_boot_mode()
The SPL code already knows which boot device it calls the spl_boot_mode()
on, so pass that information into the function. This allows the code of
spl_boot_mode() avoid invoking spl_boot_device() again, but it also lets
board_boot_order() correctly alter the behavior of the boot process.

The later one is important, since in certain cases, it is desired that
spl_boot_device() return value be overriden using board_boot_order().

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Andreas Bießmann <andreas.devel@googlemail.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Tom Rini <trini@konsulko.com>
Reviewed-by: Andreas Bießmann <andreas@biessmann.org>
[add newly introduced zynq variant]
Signed-aff-by: Andreas Bießmann <andreas@biessmann.org>
2016-06-26 20:17:22 +02:00
..
Makefile spl: Add an option to load a FIT containing U-Boot 2016-03-14 19:18:30 -04:00
spl_ext.c SPL ext: cosmetic: correct error message in spl_load_image_ext() 2016-06-19 09:57:48 -04:00
spl_fat.c spl: Support loading a FIT from FAT FS 2016-05-27 15:41:40 -04:00
spl_fit.c spl: fit: Fix non-matching DT names console output 2016-06-04 08:50:17 -04:00
spl_mmc.c common: Pass the boot device into spl_boot_mode() 2016-06-26 20:17:22 +02:00
spl_nand.c spl: nand: support redundant u-boot image 2016-06-19 19:11:57 -05:00
spl_net.c SPL: Let spl_parse_image_header() return value 2016-05-17 17:52:20 +02:00
spl_nor.c SPL: Let spl_parse_image_header() return value 2016-05-17 17:52:20 +02:00
spl_onenand.c SPL: Let spl_parse_image_header() return value 2016-05-17 17:52:20 +02:00
spl_sata.c dm: scsi: Drop the get_dev() function 2016-05-17 09:54:43 -06:00
spl_usb.c dm: usb: Drop the get_dev() function 2016-05-17 09:54:43 -06:00
spl_ymodem.c spl: Add an option to load a FIT containing U-Boot from UART 2016-05-27 15:47:42 -04:00
spl.c bootstage: call show_boot_progress also in SPL 2016-06-09 13:53:08 -04:00