at91: simplify spl board_init_f function
PATCH 1/1 at91: simplify spl board_init_f function
crt0.S do both memset the bss section and call board_init_r for us, so remove them from board_init_f().
Signed-off-by Josh Wu <[email protected]>
---
arch/arm/mach-at91/spl_atmel.c | 5 ----- 1 file changed, 5 deletions(-)
arch/arm/mach-at91/spl_atmel.c +0 -5
@@ -98,9 +98,4 @@ void board_init_f(ulong dummy)preloader_console_init ();mem_init (); - -/* Clear the BSS. */ -memset (__bss_start,0 , __bss_end - __bss_start); - -board_init_r (NULL ,0 ); }
Signature · 1 line
1.9.1
PATCH 1/1 at91: simplify spl board_init_f function
Quoted 8 lines · Josh Wu
crt0.Sdo both memset the bss section and callboard_init_rfor us, so remove them fromboard_init_f().Signed-off-by Josh Wu <[email protected]>---
arch/arm/mach-at91/spl_atmel.c | 5 ----- 1 file changed, 5 deletions(-)
Reviewed-by Simon Glass <[email protected]>
PATCH 1/1 at91: simplify spl board_init_f function
In reply to Josh WuQuoted 4 lines · Josh Wu
crt0.Sdo both memset the bss section and callboard_init_rfor us, so remove them fromboard_init_f().Signed-off-by Josh Wu <[email protected]>
Reviewed-by Andreas Bie?mann <[email protected]>
Quoted 20 lines
---
arch/arm/mach-at91/spl_atmel.c | 5 ----- 1 file changed, 5 deletions(-)arch/arm/mach-at91/spl_atmel.c +0
-5@@ -98,9 +98,4 @@ void board_init_f(ulong dummy)preloader_console_init ();mem_init (); - -/* Clear the BSS. */ -memset (__bss_start,0 , __bss_end - __bss_start); - -board_init_r (NULL ,0 ); }
Dear Josh Wu,
Quoted 10 lines · Josh Wu
crt0.Sdo both memset the bss section and callboard_init_rfor us, so remove them fromboard_init_f().Signed-off-by Josh Wu <[email protected]>Reviewed-by Simon Glass <[email protected]>Reviewed-by Andreas Bie?mann <[email protected]>---
arch/arm/mach-at91/spl_atmel.c| 5 -----1 file changed, 5 deletions(-)
applied to u-boot-atmel/master, thanks!
Best regards,
Andreas Bie?mann