
3 Jun
2014
3 Jun
'14
5:36 p.m.
On Sat, May 31, 2014 at 1:32 PM, Jeroen Hofstee jeroen@myspectrum.nl wrote:
NOTE: smdk5420 snow smdkv310 apf27 arndale origen vpac270_ond_256 smdk5250 don't have a memset available.
arch/arm/lib/crt0.S | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/arch/arm/lib/crt0.S b/arch/arm/lib/crt0.S index dfc2de9..52b6f74 100644 --- a/arch/arm/lib/crt0.S +++ b/arch/arm/lib/crt0.S @@ -70,6 +70,12 @@ ENTRY(_main) sub sp, sp, #GD_SIZE /* allocate one GD above SP */ bic sp, sp, #7 /* 8-byte alignment for ABI compliance */ mov r9, sp /* GD is above SP */
mov r0, r9 /* Clear the global data */
mov r1, #0
mov r2, #GENERATED_GBL_DATA_SIZE
bl memset
mov r0, #0 bl board_init_f
--
Acked-by: Tim Harvey tharvey@gateworks.com
This resolves the issue I encountered and reported with IMX6 SPL.
Thanks,
Tim