From: Bin Meng Date: Tue, 22 Aug 2017 15:15:18 +0000 (-0700) Subject: sandbox: Add a dummy invalidate_dcache_range() function X-Git-Tag: v2017.09-rc3~5 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0d1414bd973a2d86ca42d8fb865617453cbb4c0e;p=oweals%2Fu-boot.git 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 --- diff --git a/arch/sandbox/cpu/cpu.c b/arch/sandbox/cpu/cpu.c index eefed2ebd9..01991049cc 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();