Skip to content
Snippets Groups Projects
Commit d337a09c authored by Wu, Josh's avatar Wu, Josh Committed by Andreas Bießmann
Browse files

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: default avatarJosh Wu <josh.wu@atmel.com>
Signed-off-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
parent b137bd8c
No related branches found
No related tags found
No related merge requests found
...@@ -61,6 +61,8 @@ int print_cpuinfo(void) ...@@ -61,6 +61,8 @@ int print_cpuinfo(void)
void enable_caches(void) void enable_caches(void)
{ {
icache_enable();
dcache_enable();
} }
unsigned int get_chip_id(void) unsigned int get_chip_id(void)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment