diff options
author | Josh Wu <josh.wu@atmel.com> | 2015-10-23 17:23:57 +0800 |
---|---|---|
committer | Andreas Bießmann <andreas.devel@googlemail.com> | 2015-11-01 22:02:14 +0100 |
commit | 478ec83489dea9e27b59eeaf77eed52a6d1185f5 (patch) | |
tree | c63e7bec141ae8dac8a4a366cfe09a5049e01e22 /arch/arm/mach-at91 | |
parent | 0e067a65f57189703668826d9841fea477026bf6 (diff) | |
download | u-boot-imx-478ec83489dea9e27b59eeaf77eed52a6d1185f5.zip u-boot-imx-478ec83489dea9e27b59eeaf77eed52a6d1185f5.tar.gz u-boot-imx-478ec83489dea9e27b59eeaf77eed52a6d1185f5.tar.bz2 |
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 <josh.wu@atmel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r-- | arch/arm/mach-at91/spl_atmel.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-at91/spl_atmel.c b/arch/arm/mach-at91/spl_atmel.c index 8ac5335..b2fb51d 100644 --- a/arch/arm/mach-at91/spl_atmel.c +++ b/arch/arm/mach-at91/spl_atmel.c @@ -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); } |