aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorBin Meng2017-08-22 08:15:18 -0700
committerTom Rini2017-08-28 07:17:16 -0400
commit0d1414bd973a2d86ca42d8fb865617453cbb4c0e (patch)
tree9224c96da24b99b9606e0f5c270d7c18a3873ee5 /arch
parentfceadc1459c099303f1e0cdd1937bb561b5ce288 (diff)
sandbox: Add a dummy invalidate_dcache_range() function
This adds invalidate_dcache_range() so that some drivers can build without error on sandbox. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/sandbox/cpu/cpu.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sandbox/cpu/cpu.c b/arch/sandbox/cpu/cpu.c
index eefed2ebd96..01991049ccf 100644
--- 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();