diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2017-08-22 18:15:18 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-28 14:17:16 +0300 |
commit | 0d1414bd973a2d86ca42d8fb865617453cbb4c0e (patch) | |
tree | 9224c96da24b99b9606e0f5c270d7c18a3873ee5 /arch/sandbox/cpu | |
parent | fceadc1459c099303f1e0cdd1937bb561b5ce288 (diff) | |
download | u-boot-0d1414bd973a2d86ca42d8fb865617453cbb4c0e.tar.xz |
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/sandbox/cpu')
-rw-r--r-- | arch/sandbox/cpu/cpu.c | 4 |
1 files changed, 4 insertions, 0 deletions
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(); |