projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://git.denx.de/u-boot-spi
[platform/kernel/u-boot.git]
/
arch
/
riscv
/
cpu
/
ax25
/
cpu.c
diff --git
a/arch/riscv/cpu/ax25/cpu.c
b/arch/riscv/cpu/ax25/cpu.c
index
fddcc15
..
76689b2
100644
(file)
--- a/
arch/riscv/cpu/ax25/cpu.c
+++ b/
arch/riscv/cpu/ax25/cpu.c
@@
-6,6
+6,7
@@
/* CPU specific code */
#include <common.h>
/* CPU specific code */
#include <common.h>
+#include <asm/cache.h>
/*
* cleanup_before_linux() is called just before we call linux
/*
* cleanup_before_linux() is called just before we call linux
@@
-18,6
+19,9
@@
int cleanup_before_linux(void)
disable_interrupts();
/* turn off I/D-cache */
disable_interrupts();
/* turn off I/D-cache */
+ cache_flush();
+ icache_disable();
+ dcache_disable();
return 0;
}
return 0;
}