diff options
author | Andy Green <andy.green@linaro.org> | 2011-09-23 13:19:01 -0400 |
---|---|---|
committer | Paolo Pisati <paolo.pisati@canonical.com> | 2012-08-17 04:19:20 -0400 |
commit | 7cdd397b7ba58bd9a9b5f8b4b616fecb279da207 (patch) | |
tree | d05f185d066e89290b61d1efc32062e9b12faaa4 /arch/arm | |
parent | 6fa5c535aaeb7aae0b7b235d18475e0ead215626 (diff) |
null out 4460 cache feture with unknown constants
Signed-off-by: Andy Green <andy.green@linaro.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-omap2/omap4-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/omap4-common.c b/arch/arm/mach-omap2/omap4-common.c index bdab03b218a..4f84ef6a37a 100644 --- a/arch/arm/mach-omap2/omap4-common.c +++ b/arch/arm/mach-omap2/omap4-common.c | |||
@@ -118,7 +118,7 @@ static int __init omap_l2_cache_init(void) | |||
118 | 118 | ||
119 | /* Setup POR Control register */ | 119 | /* Setup POR Control register */ |
120 | por_ctrl = readl_relaxed(l2cache_base + L2X0_PREFETCH_CTRL); | 120 | por_ctrl = readl_relaxed(l2cache_base + L2X0_PREFETCH_CTRL); |
121 | 121 | #if 0 | |
122 | /* | 122 | /* |
123 | * Double linefill is available only on OMAP4460 L2X0. | 123 | * Double linefill is available only on OMAP4460 L2X0. |
124 | * Undocumented bit 25 is set for better performance. | 124 | * Undocumented bit 25 is set for better performance. |
@@ -127,7 +127,7 @@ static int __init omap_l2_cache_init(void) | |||
127 | por_ctrl |= ((1 << L2X0_PREFETCH_DATA_PREFETCH_SHIFT) | | 127 | por_ctrl |= ((1 << L2X0_PREFETCH_DATA_PREFETCH_SHIFT) | |
128 | (1 << L2X0_PREFETCH_DOUBLE_LINEFILL_SHIFT) | | 128 | (1 << L2X0_PREFETCH_DOUBLE_LINEFILL_SHIFT) | |
129 | (1 << 25)); | 129 | (1 << 25)); |
130 | 130 | #endif | |
131 | if (cpu_is_omap446x() || (omap_rev() >= OMAP4430_REV_ES2_2)) { | 131 | if (cpu_is_omap446x() || (omap_rev() >= OMAP4430_REV_ES2_2)) { |
132 | por_ctrl |= L2X0_POR_OFFSET_VALUE; | 132 | por_ctrl |= L2X0_POR_OFFSET_VALUE; |
133 | omap_smc1(0x113, por_ctrl); | 133 | omap_smc1(0x113, por_ctrl); |