projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fceadc1
)
sandbox: Add a dummy invalidate_dcache_range() function
author
Bin Meng
<bmeng.cn@gmail.com>
Tue, 22 Aug 2017 15:15:18 +0000
(08:15 -0700)
committer
Tom Rini
<trini@konsulko.com>
Mon, 28 Aug 2017 11:17:16 +0000
(07:17 -0400)
This adds invalidate_dcache_range() so that some drivers can build
without error on sandbox.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
arch/sandbox/cpu/cpu.c
patch
|
blob
|
history
diff --git
a/arch/sandbox/cpu/cpu.c
b/arch/sandbox/cpu/cpu.c
index eefed2ebd9617c41558764111531d2288b6354d5..01991049ccf7773488328227e8c7ec0a46f5c994 100644
(file)
--- a/
arch/sandbox/cpu/cpu.c
+++ b/
arch/sandbox/cpu/cpu.c
@@
-100,6
+100,10
@@
void flush_dcache_range(unsigned long start, unsigned long stop)
{
}
+void invalidate_dcache_range(unsigned long start, unsigned long stop)
+{
+}
+
int sandbox_read_fdt_from_file(void)
{
struct sandbox_state *state = state_get_current();