]> git.sur5r.net Git - u-boot/blobdiff - board/gateworks/gw_ventana/gw_ventana_spl.c
Remove unnecessary instances of DECLARE_GLOBAL_DATA_PTR
[u-boot] / board / gateworks / gw_ventana / gw_ventana_spl.c
index c2e370ba0be7dc48f43c9a6eb370d324651c884a..ee93e545ded20449c1e79cc3974d0fd6fa14b647 100644 (file)
@@ -21,8 +21,6 @@
 #include "gsc.h"
 #include "common.h"
 
-DECLARE_GLOBAL_DATA_PTR;
-
 #define RTT_NOM_120OHM /* use 120ohm Rtt_nom vs 60ohm (lower power) */
 #define GSC_EEPROM_DDR_SIZE    0x2B    /* enum (512,1024,2048) MB */
 #define GSC_EEPROM_DDR_WIDTH   0x2D    /* enum (32,64) bit */
@@ -626,9 +624,6 @@ void board_init_f(ulong dummy)
        spl_dram_init(8 << ventana_info.sdram_width,
                      16 << ventana_info.sdram_size,
                      board_model);
-
-       /* Clear the BSS. */
-       memset(__bss_start, 0, __bss_end - __bss_start);
 }
 
 void board_boot_order(u32 *spl_boot_list)