summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/spl_atmel.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-at91/spl_atmel.c')
-rw-r--r--arch/arm/mach-at91/spl_atmel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/spl_atmel.c b/arch/arm/mach-at91/spl_atmel.c
index b2fb51d0ac..688289e7cf 100644
--- a/arch/arm/mach-at91/spl_atmel.c
+++ b/arch/arm/mach-at91/spl_atmel.c
@@ -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();
OpenPOWER on IntegriCloud