]> git.sur5r.net Git - u-boot/commitdiff
sandbox: Add a dummy invalidate_dcache_range() function
authorBin Meng <bmeng.cn@gmail.com>
Tue, 22 Aug 2017 15:15:18 +0000 (08:15 -0700)
committerTom 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

index eefed2ebd9617c41558764111531d2288b6354d5..01991049ccf7773488328227e8c7ec0a46f5c994 100644 (file)
@@ -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();