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>
master
Bin Meng 7 years ago committed by Tom Rini
parent fceadc1459
commit 0d1414bd97
  1. 4
      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();

Loading…
Cancel
Save