]> git.sur5r.net Git - u-boot/commitdiff
ARM: AM43xx: Add L2 Support
authorLokesh Vutla <lokeshvutla@ti.com>
Tue, 10 Dec 2013 09:32:13 +0000 (15:02 +0530)
committerTom Rini <trini@ti.com>
Thu, 19 Dec 2013 02:14:00 +0000 (21:14 -0500)
AM4372 uses PL310 L2 Cache. Enable the configs for the same.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
include/configs/am43xx_evm.h

index cad6979e8123b2b1e336f436890f7b3c0e5e5d1a..833e5fa6f3ee765a673a5e1edd078199fb43f91e 100644 (file)
 #define CONFIG_SPL_MAX_SIZE            (0x40337C00 - CONFIG_SPL_TEXT_BASE)
 #define CONFIG_SPL_YMODEM_SUPPORT
 
+/* Enabling L2 Cache */
+#define CONFIG_SYS_L2_PL310
+#define CONFIG_SYS_PL310_BASE  0x48242000
+#define CONFIG_SYS_CACHELINE_SIZE      32
+
 /*
  * Since SPL did pll and ddr initialization for us,
  * we don't need to do it twice.