diff options
author | Anatolij Gustschin <agust@denx.de> | 2017-08-28 21:58:38 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2017-09-18 18:15:28 +0300 |
commit | 30df9f770b22f3c89d61947950da362117c43c63 (patch) | |
tree | cd14eff6c22aa6a78d1478d6b65c360a567d0ef3 /board/bachmann/ot1200 | |
parent | 0bfd4f81ae3d28e951111481e9af66ba1f7be671 (diff) | |
download | u-boot-30df9f770b22f3c89d61947950da362117c43c63.tar.xz |
imx6: drop duplicated bss memset and board_init_r() call
bss section is cleared in crt0.S. board_init_r() is also
entered from crt0 code.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Christian Gmeiner <christian.gmeiner@gmail.com>
Cc: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Cc: Tim Harvey <tharvey@gateworks.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Lukasz Majewski <lukma@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'board/bachmann/ot1200')
-rw-r--r-- | board/bachmann/ot1200/ot1200_spl.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/board/bachmann/ot1200/ot1200_spl.c b/board/bachmann/ot1200/ot1200_spl.c index 9d28da4ba4..f3dff95710 100644 --- a/board/bachmann/ot1200/ot1200_spl.c +++ b/board/bachmann/ot1200/ot1200_spl.c @@ -151,10 +151,4 @@ void board_init_f(ulong dummy) /* configure MMDC for SDRAM width/size and per-model calibration */ ot1200_spl_dram_init(); - - /* Clear the BSS. */ - memset(__bss_start, 0, __bss_end - __bss_start); - - /* load/boot image from boot device */ - board_init_r(NULL, 0); } |