diff options
author | Tom Rini <trini@ti.com> | 2015-02-13 13:10:30 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2015-02-13 13:10:30 -0500 |
commit | c445506d73a0fba6472d12510b2d41148f078349 (patch) | |
tree | bfbb634445bbf2035de310b47681542b5512c604 /arch/arc/include/asm/cache.h | |
parent | 921ed4e840fecd93ed14e11d1267f476e7e92d29 (diff) | |
parent | f13606b77d32344d35f6430eb45cffd47302e244 (diff) |
Merge git://git.denx.de/u-boot-arc
Diffstat (limited to 'arch/arc/include/asm/cache.h')
-rw-r--r-- | arch/arc/include/asm/cache.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arc/include/asm/cache.h b/arch/arc/include/asm/cache.h index 2725961221..8a77cd93af 100644 --- a/arch/arc/include/asm/cache.h +++ b/arch/arc/include/asm/cache.h @@ -17,10 +17,14 @@ #define ARCH_DMA_MINALIGN 128 #endif -#if defined(CONFIG_ARC_MMU_V2) +#if defined(ARC_MMU_ABSENT) +#define CONFIG_ARC_MMU_VER 0 +#elif defined(CONFIG_ARC_MMU_V2) #define CONFIG_ARC_MMU_VER 2 #elif defined(CONFIG_ARC_MMU_V3) #define CONFIG_ARC_MMU_VER 3 +#elif defined(CONFIG_ARC_MMU_V4) +#define CONFIG_ARC_MMU_VER 4 #endif #endif /* __ASM_ARC_CACHE_H */ |