ARMv7: at91: enable ICache and DCache.

For at91 armv7 SoC (SAMA5D3x), only LCD and macb used DMA.
Now as the lcd and macb driver already support dcache. So we can
enable dcache now.

Also we can enable icache without any problem.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
master
Wu, Josh 11 years ago committed by Andreas Bießmann
parent b137bd8c8d
commit d337a09c30
  1. 2
      arch/arm/cpu/armv7/at91/cpu.c

@ -61,6 +61,8 @@ int print_cpuinfo(void)
void enable_caches(void)
{
icache_enable();
dcache_enable();
}
unsigned int get_chip_id(void)

Loading…
Cancel
Save