summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2016-10-10 10:02:08 +0800
committerPeng Fan <peng.fan@nxp.com>2016-10-11 13:08:37 +0800
commitfc68bec5fb3163381d552d115f4b90882b83c10b (patch)
treeabfaea8f30ac3edaf78a89dae55b48d1e9370c75 /arch
parentafa2d78f2b799337eae3dc67c0ed702d5520eee6 (diff)
downloadu-boot-imx-fc68bec5fb3163381d552d115f4b90882b83c10b.zip
u-boot-imx-fc68bec5fb3163381d552d115f4b90882b83c10b.tar.gz
u-boot-imx-fc68bec5fb3163381d552d115f4b90882b83c10b.tar.bz2
MLK-13307-8 imx-common: cache: configure L2 Cache for i.MX6SLL
Configure L2 Cache for i.MX6SLL. Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/imx-common/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/imx-common/cache.c b/arch/arm/imx-common/cache.c
index 250b016..f379e5c 100644
--- a/arch/arm/imx-common/cache.c
+++ b/arch/arm/imx-common/cache.c
@@ -55,7 +55,7 @@ void v7_outer_cache_enable(void)
*/
setbits_le32(&pl310->pl310_aux_ctrl, L310_SHARED_ATT_OVERRIDE_ENABLE);
-#if defined CONFIG_MX6SL
+#if defined(CONFIG_MX6SL) || defined(CONFIG_MX6SLL)
struct iomuxc *iomux = (struct iomuxc *)IOMUXC_BASE_ADDR;
val = readl(&iomux->gpr[11]);
if (val & IOMUXC_GPR11_L2CACHE_AS_OCRAM) {