mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
arc: Migrate ARC_MMU_VER to Kconfig
Move this value to Kconfig. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
a3fda0d30a
commit
409163a46e
2 changed files with 7 additions and 10 deletions
|
@ -102,6 +102,13 @@ config ARC_MMU_V4
|
|||
|
||||
endchoice
|
||||
|
||||
config ARC_MMU_VER
|
||||
int
|
||||
default 0 if ARC_MMU_ABSENT
|
||||
default 2 if ARC_MMU_V2
|
||||
default 3 if ARC_MMU_V3
|
||||
default 4 if ARC_MMU_V4
|
||||
|
||||
config CPU_BIG_ENDIAN
|
||||
bool "Enable Big Endian Mode"
|
||||
help
|
||||
|
|
|
@ -16,16 +16,6 @@
|
|||
*/
|
||||
#define ARCH_DMA_MINALIGN 128
|
||||
|
||||
#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
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
void cache_init(void);
|
||||
|
|
Loading…
Reference in a new issue