Message ID | 1340036736-2436-12-git-send-email-mathieu.poirier@linaro.org |
---|---|
State | New |
Headers | show |
diff --git a/arch/arm/cpu/armv7/u8500/cpu.c b/arch/arm/cpu/armv7/u8500/cpu.c index 02bb332..66a9d2c 100644 --- a/arch/arm/cpu/armv7/u8500/cpu.c +++ b/arch/arm/cpu/armv7/u8500/cpu.c @@ -73,6 +73,15 @@ static unsigned int read_asicid(void) return readl(address); } +void cpu_cache_management(void) +{ + if (cpu_is_u8500v2()) { + *((volatile unsigned int *)(0xA04127CC)) = 0xFF; + *((volatile unsigned int *)(0xA0412900)) = 0xFF; + *((volatile unsigned int *)(0xA0412904)) = 0xFF; + } +} + #ifdef CONFIG_ARCH_CPU_INIT /* * SOC specific cpu init