summaryrefslogtreecommitdiffstats
path: root/include/configs/am43xx_evm.h
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2013-12-10 15:02:13 +0530
committerTom Rini <trini@ti.com>2013-12-18 21:14:00 -0500
commit573b020ecb3cd5a2d3f47dc87e83486e3ad57d3d (patch)
tree6de42ac70394fbd561fb987cb313a96e431a126a /include/configs/am43xx_evm.h
parent369cbe1e1ec6e2f0761438e7cef717a78b8905b1 (diff)
downloadblackbird-obmc-uboot-573b020ecb3cd5a2d3f47dc87e83486e3ad57d3d.tar.gz
blackbird-obmc-uboot-573b020ecb3cd5a2d3f47dc87e83486e3ad57d3d.zip
ARM: AM43xx: Add L2 Support
AM4372 uses PL310 L2 Cache. Enable the configs for the same. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'include/configs/am43xx_evm.h')
-rw-r--r--include/configs/am43xx_evm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index cad6979e81..833e5fa6f3 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -30,6 +30,11 @@
#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.
OpenPOWER on IntegriCloud