Patchwork [U-Boot,03/14] ARM: AM43xx: Add L2 Support

login
register
mail settings
Submitter Lokesh Vutla
Date Nov. 5, 2013, 4:20 a.m.
Message ID <1383625260-22294-4-git-send-email-lokeshvutla@ti.com>
Download mbox | patch
Permalink /patch/288367/
State Deferred
Delegated to: Tom Rini
Headers show

Comments

Lokesh Vutla - Nov. 5, 2013, 4:20 a.m.
AM4372 uses PL310 L2 Cache. Enable the configs for the same.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
---
 include/configs/am43xx_evm.h |    5 +++++
 1 file changed, 5 insertions(+)

Patch

diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index 4815357..b0269a7 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -30,6 +30,11 @@ 
 #define CONFIG_SPL_MAX_SIZE		(0x4030C000 - 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.