diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2013-02-11 18:01:30 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-02-11 21:08:24 +0100 |
commit | 6061d3b3cb44a9b1fa478ef1d6c1ad9b4745223b (patch) | |
tree | 5e5449a1a54257c7a8ca6e3c728d02abeaa35fc8 /arch/arm/cpu/mmu.h | |
parent | 489f9470864996ced72d6937696d57265cf748ce (diff) | |
download | barebox-6061d3b3cb44a9b1fa478ef1d6c1ad9b4745223b.tar.gz barebox-6061d3b3cb44a9b1fa478ef1d6c1ad9b4745223b.tar.xz |
arm: move outercase to cpu.c as some SoC as the ux500 always need to flush the l2x0
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/cpu/mmu.h')
-rw-r--r-- | arch/arm/cpu/mmu.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/cpu/mmu.h b/arch/arm/cpu/mmu.h index 618968bc82..79ebc80d7d 100644 --- a/arch/arm/cpu/mmu.h +++ b/arch/arm/cpu/mmu.h @@ -1,8 +1,14 @@ #ifndef __ARM_MMU_H #define __ARM_MMU_H +#ifdef CONFIG_MMU void __mmu_cache_on(void); void __mmu_cache_off(void); void __mmu_cache_flush(void); +#else +static inline void __mmu_cache_on(void) {} +static inline void __mmu_cache_off(void) {} +static inline void __mmu_cache_flush(void) {} +#endif #endif /* __ARM_MMU_H */ |