]> 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 9cc1111234a16f723519281bbd3fd4f7aae7a531..688289e7cf7b69acc991451706bfcd38c3619b83 100644 (file)
@@ -70,10 +70,19 @@ __weak void redirect_int_from_saic_to_aic(void)
        /* This only be used for sama5d4 soc now */
 }
 
+/* empty stub to satisfy current lowlevel_init, can be removed any time */
 void s_init(void)
+{
+}
+
+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();