diff options
author | Peng Fan <peng.fan@nxp.com> | 2016-10-10 10:02:08 +0800 |
---|---|---|
committer | Robby Cai <robby.cai@nxp.com> | 2016-11-16 16:57:45 +0800 |
commit | a27300181b7f35fab024a8c6f9636a2108a48922 (patch) | |
tree | c860c1f13f2021310cfa0819b582b06fe5870127 | |
parent | bdff2ca1b15843fbd1d503cf5137f6815e7a894a (diff) | |
download | u-boot-imx-a27300181b7f35fab024a8c6f9636a2108a48922.zip u-boot-imx-a27300181b7f35fab024a8c6f9636a2108a48922.tar.gz u-boot-imx-a27300181b7f35fab024a8c6f9636a2108a48922.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>
(cherry picked from commit fc68bec5fb3163381d552d115f4b90882b83c10b)
-rw-r--r-- | arch/arm/imx-common/cache.c | 2 |
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) { |