The old value needs to be cleared before inserting the new one.
Signed-off-by: Mans Rullgard mans.rullgard@linaro.org --- arch/arm/mach-omap2/omap4-common.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/omap4-common.c b/arch/arm/mach-omap2/omap4-common.c index 03b13e3..be74f78 100644 --- a/arch/arm/mach-omap2/omap4-common.c +++ b/arch/arm/mach-omap2/omap4-common.c @@ -184,6 +184,7 @@ static int __init omap_l2_cache_init(void) (1 << L2X0_PREFETCH_DOUBLE_LINEFILL_SHIFT);
if (cpu_is_omap446x() || (omap_rev() >= OMAP4430_REV_ES2_2)) { + por_ctrl &= ~0x1f; por_ctrl |= L2X0_POR_OFFSET_VALUE; omap_smc1(0x113, por_ctrl); }