diff options
author | Michal Simek <monstr@monstr.eu> | 2014-04-25 12:15:40 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2014-05-14 07:43:34 +0200 |
commit | 1540fb725bb7067f5cacbcc624f8684ed1471815 (patch) | |
tree | 089e1516e8fdee21ca8f7503911ec1cb8883ac0e /arch/arm/cpu/armv7 | |
parent | 10fa49f428b9425f554f64a74a451868cbbfba3a (diff) | |
download | u-boot-imx-1540fb725bb7067f5cacbcc624f8684ed1471815.zip u-boot-imx-1540fb725bb7067f5cacbcc624f8684ed1471815.tar.gz u-boot-imx-1540fb725bb7067f5cacbcc624f8684ed1471815.tar.bz2 |
ARM: zynq: Call zynq board_init() in SPL
Call board_init() if SPL is configured with CONFIG_SPL_BOARD_INIT.
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/arm/cpu/armv7')
-rw-r--r-- | arch/arm/cpu/armv7/zynq/spl.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/zynq/spl.c b/arch/arm/cpu/armv7/zynq/spl.c index fcad762..c3ea221 100644 --- a/arch/arm/cpu/armv7/zynq/spl.c +++ b/arch/arm/cpu/armv7/zynq/spl.c @@ -28,6 +28,13 @@ void board_init_f(ulong dummy) board_init_r(NULL, 0); } +#ifdef CONFIG_SPL_BOARD_INIT +void spl_board_init(void) +{ + board_init(); +} +#endif + u32 spl_boot_device(void) { u32 mode; |