]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-at91/spl_atmel.c
sunxi: Add base address for GIC
[u-boot] / arch / arm / mach-at91 / spl_atmel.c
index 8ac53353e62d3a5755611d858995484e78434de3..688289e7cf7b69acc991451706bfcd38c3619b83 100644 (file)
@@ -79,6 +79,10 @@ void board_init_f(ulong dummy)
 {
        switch_to_main_crystal_osc();
 
+#ifdef CONFIG_SAMA5D2
+       configure_2nd_sram_as_l2_cache();
+#endif
+
        /* disable watchdog */
        at91_disable_wdt();
 
@@ -98,9 +102,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);
 }