u-boot/arch/arm/mach-at91
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
..
arm920t Change my mailaddress 2016-05-02 18:37:09 -04:00
arm926ejs at91: Add driver-model GPIO devices for AT91SAM9G45 2016-06-12 23:49:38 +02:00
armv7 ARM: at91: clock: complete the GCK's clock sources 2016-05-24 08:08:36 +02:00
include/mach ARM: at91: Fix PMC bit definitions 2016-06-12 23:49:38 +02:00
atmel_sfr.c ARM: at91: sama5d2: configure the L2 cache memory 2016-02-18 21:34:41 +01:00
bootparams_atmel.S ARM: sama5d2: Implement boot device autodetection 2016-05-24 08:08:37 +02:00
clock.c ARM: at91: clock: add PMC_PLLICPR init function 2016-02-18 21:34:41 +01:00
config.mk ARM: at91: collect SoC sources into mach-at91 2015-02-21 08:23:51 -05:00
Kconfig arm: at91: Add support for gurnard 2016-06-12 23:49:38 +02:00
Makefile ARM: at91: sama5: Extend boot device autodetection 2016-06-12 23:49:38 +02:00
matrix.c arm: at91/spl: matrix: use matrix slave id macros 2015-11-30 22:27:54 +01:00
mpddrc.c arm: at91/spl: mpddrc: use IP version to check configuration 2016-02-02 11:49:12 +01:00
phy.c ARM: cpu: at91: clean up peripheral clock code 2016-02-18 21:34:40 +01:00
sdram.c ARM: cpu: at91: clean up peripheral clock code 2016-02-18 21:34:40 +01:00
spl_at91.c ARM: at91: clean up the PMC_PLLICPR init code 2016-02-18 21:34:41 +01:00
spl_atmel.c ARM: at91: sama5d2: configure the L2 cache memory 2016-02-18 21:34:41 +01:00
spl.c common: Pass the boot device into spl_boot_mode() 2016-06-26 20:17:22 +02:00