u-boot-brain/arch/arm/mach-uniphier/boot-mode
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
..
boot-device.h ARM: uniphier: add PH1-LD20 SoC support 2016-04-24 09:54:08 +09:00
boot-mode-ld4.c ARM: uniphier: clean up boot mode tables 2016-05-26 00:35:26 +09:00
boot-mode-ld20.c ARM: uniphier: fix boot mode for PH1-LD11 2016-06-09 08:17:59 +09:00
boot-mode-pro5.c ARM: uniphier: clean up boot mode tables 2016-05-26 00:35:26 +09:00
boot-mode-pxs2.c ARM: uniphier: clean up boot mode tables 2016-05-26 00:35:26 +09:00
boot-mode-sld3.c ARM: uniphier: clean up boot mode tables 2016-05-26 00:35:26 +09:00
boot-mode.c common: Pass the boot device into spl_boot_mode() 2016-06-26 20:17:22 +02:00
cmd_pinmon.c ARM: uniphier: add PH1-LD11 SoC support 2016-05-26 00:37:13 +09:00
Makefile ARM: uniphier: support eMMC boot for PH1-LD11 and PH1-LD20 2016-06-09 08:17:49 +09:00
spl_board.c ARM: uniphier: support eMMC boot for PH1-LD11 and PH1-LD20 2016-06-09 08:17:49 +09:00