diff options
author | Daniel Allred <d-allred@ti.com> | 2016-06-27 09:19:16 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-07-14 18:22:17 -0400 |
commit | ec6f61003b6cda13b20878a990e5f9b70496d0ad (patch) | |
tree | 57881230a9d50fb8dfeb2938eeee7dfa14d654d3 /arch/arm/cpu | |
parent | 6b6024eadb96bc471643bd183fe940fb657bef83 (diff) | |
download | u-boot-imx-ec6f61003b6cda13b20878a990e5f9b70496d0ad.zip u-boot-imx-ec6f61003b6cda13b20878a990e5f9b70496d0ad.tar.gz u-boot-imx-ec6f61003b6cda13b20878a990e5f9b70496d0ad.tar.bz2 |
arm: cache: add missing dummy functions for when dcache disabled
Adds missing flush_dcache_range and invalidate_dcache_range dummy
(empty) placeholder functions to the #else portion of the #ifndef
CONFIG_SYS_DCACHE_OFF, where full implementations of these functions
are defined.
Signed-off-by: Daniel Allred <d-allred@ti.com>
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r-- | arch/arm/cpu/armv7/cache_v7.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/cache_v7.c b/arch/arm/cpu/armv7/cache_v7.c index dc309da..24fe0c5 100644 --- a/arch/arm/cpu/armv7/cache_v7.c +++ b/arch/arm/cpu/armv7/cache_v7.c @@ -195,6 +195,14 @@ void flush_dcache_all(void) { } +void invalidate_dcache_range(unsigned long start, unsigned long stop) +{ +} + +void flush_dcache_range(unsigned long start, unsigned long stop) +{ +} + void arm_init_before_mmu(void) { } |