projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
armv8: add lowlevel_init.S
[oweals/u-boot.git]
/
arch
/
arm
/
cpu
/
arm926ejs
/
cpu.c
diff --git
a/arch/arm/cpu/arm926ejs/cpu.c
b/arch/arm/cpu/arm926ejs/cpu.c
index e37e87b68d14d394dfdb9980cbca40345f5ccc52..a90ce3047bd27f2f100512ce6239073ac6c92fa9 100644
(file)
--- a/
arch/arm/cpu/arm926ejs/cpu.c
+++ b/
arch/arm/cpu/arm926ejs/cpu.c
@@
-45,7
+45,9
@@
int cleanup_before_linux (void)
/* flush I/D-cache */
static void cache_flush (void)
{
+#if !(defined(CONFIG_SYS_ICACHE_OFF) && defined(CONFIG_SYS_DCACHE_OFF))
unsigned long i = 0;
asm ("mcr p15, 0, %0, c7, c7, 0": :"r" (i));
+#endif
}