|
@@ -523,6 +523,14 @@ void v7_outer_cache_enable(void)
|
|
|
struct pl310_regs *const pl310 = (struct pl310_regs *)L2_PL310_BASE;
|
|
|
unsigned int val;
|
|
|
|
|
|
+
|
|
|
+ /*
|
|
|
+ * Set bit 22 in the auxiliary control register. If this bit
|
|
|
+ * is cleared, PL310 treats Normal Shared Non-cacheable
|
|
|
+ * accesses as Cacheable no-allocate.
|
|
|
+ */
|
|
|
+ setbits_le32(&pl310->pl310_aux_ctrl, L310_SHARED_ATT_OVERRIDE_ENABLE);
|
|
|
+
|
|
|
#if defined CONFIG_MX6SL
|
|
|
struct iomuxc *iomux = (struct iomuxc *)IOMUXC_BASE_ADDR;
|
|
|
val = readl(&iomux->gpr[11]);
|