summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm926ejs/mxs/spl_boot.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2018-04-21 16:11:10 +0100
committerStefano Babic <sbabic@denx.de>2018-04-27 09:32:54 +0200
commit07a8f79ee850b1e59371519f179d32fea171bbec (patch)
tree304e4c84f19097badaa4c998e04d7f01b5ea26bf /arch/arm/cpu/arm926ejs/mxs/spl_boot.c
parent33ea119382d820294e22bc99c4ea32cb5fac1a71 (diff)
ARM: mxs: support full SPL framework
This allows using the full SPL framework on mxs devices. In this mode, the u-boot.sb image loaded by the boot ROM contains only the SPL which then loads U-Boot proper or a kernel in falcon mode. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'arch/arm/cpu/arm926ejs/mxs/spl_boot.c')
-rw-r--r--arch/arm/cpu/arm926ejs/mxs/spl_boot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/arm926ejs/mxs/spl_boot.c b/arch/arm/cpu/arm926ejs/mxs/spl_boot.c
index 0c3925640d..bc39465fc4 100644
--- a/arch/arm/cpu/arm926ejs/mxs/spl_boot.c
+++ b/arch/arm/cpu/arm926ejs/mxs/spl_boot.c
@@ -146,6 +146,7 @@ void mxs_common_spl_init(const uint32_t arg, const uint32_t *resptr,
}
}
+#ifndef CONFIG_SPL_FRAMEWORK
/* Support aparatus */
inline void board_init_f(unsigned long bootflag)
{
@@ -158,3 +159,4 @@ inline void board_init_r(gd_t *id, ulong dest_addr)
for (;;)
;
}
+#endif