mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 06:30:39 +00:00
arm: v7: Kconfig: Add entry for MMU
Add a Kconfig entry for MMU and imply for all platforms using cache-cp15.c containing MMU setup. Using imply instead of select so that MMU can be disabled by defconfigs when not needed. Tested-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
This commit is contained in:
parent
acf1500138
commit
7240b80ee0
1 changed files with 15 additions and 0 deletions
|
@ -74,6 +74,12 @@ config ARM_ASM_UNIFIED
|
||||||
config THUMB2_KERNEL
|
config THUMB2_KERNEL
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
config SYS_ARM_MMU
|
||||||
|
bool "MMU-based Paged Memory Management Support"
|
||||||
|
help
|
||||||
|
Select if you want MMU-based virtualised addressing space
|
||||||
|
support by paged memory management.
|
||||||
|
|
||||||
# If set, the workarounds for these ARM errata are applied early during U-Boot
|
# If set, the workarounds for these ARM errata are applied early during U-Boot
|
||||||
# startup. Note that in general these options force the workarounds to be
|
# startup. Note that in general these options force the workarounds to be
|
||||||
# applied; no CPU-type/version detection exists, unlike the similar options in
|
# applied; no CPU-type/version detection exists, unlike the similar options in
|
||||||
|
@ -158,33 +164,40 @@ config ARM_ERRATA_855873
|
||||||
config CPU_ARM720T
|
config CPU_ARM720T
|
||||||
bool
|
bool
|
||||||
select SYS_CACHE_SHIFT_5
|
select SYS_CACHE_SHIFT_5
|
||||||
|
imply SYS_ARM_MMU
|
||||||
|
|
||||||
config CPU_ARM920T
|
config CPU_ARM920T
|
||||||
bool
|
bool
|
||||||
select SYS_CACHE_SHIFT_5
|
select SYS_CACHE_SHIFT_5
|
||||||
|
imply SYS_ARM_MMU
|
||||||
|
|
||||||
config CPU_ARM926EJS
|
config CPU_ARM926EJS
|
||||||
bool
|
bool
|
||||||
select SYS_CACHE_SHIFT_5
|
select SYS_CACHE_SHIFT_5
|
||||||
|
imply SYS_ARM_MMU
|
||||||
|
|
||||||
config CPU_ARM946ES
|
config CPU_ARM946ES
|
||||||
bool
|
bool
|
||||||
select SYS_CACHE_SHIFT_5
|
select SYS_CACHE_SHIFT_5
|
||||||
|
imply SYS_ARM_MMU
|
||||||
|
|
||||||
config CPU_ARM1136
|
config CPU_ARM1136
|
||||||
bool
|
bool
|
||||||
select SYS_CACHE_SHIFT_5
|
select SYS_CACHE_SHIFT_5
|
||||||
|
imply SYS_ARM_MMU
|
||||||
|
|
||||||
config CPU_ARM1176
|
config CPU_ARM1176
|
||||||
bool
|
bool
|
||||||
select HAS_VBAR
|
select HAS_VBAR
|
||||||
select SYS_CACHE_SHIFT_5
|
select SYS_CACHE_SHIFT_5
|
||||||
|
imply SYS_ARM_MMU
|
||||||
|
|
||||||
config CPU_V7A
|
config CPU_V7A
|
||||||
bool
|
bool
|
||||||
select HAS_VBAR
|
select HAS_VBAR
|
||||||
select HAS_THUMB2
|
select HAS_THUMB2
|
||||||
select SYS_CACHE_SHIFT_6
|
select SYS_CACHE_SHIFT_6
|
||||||
|
imply SYS_ARM_MMU
|
||||||
|
|
||||||
config CPU_V7M
|
config CPU_V7M
|
||||||
bool
|
bool
|
||||||
|
@ -195,10 +208,12 @@ config CPU_V7M
|
||||||
config CPU_PXA
|
config CPU_PXA
|
||||||
bool
|
bool
|
||||||
select SYS_CACHE_SHIFT_5
|
select SYS_CACHE_SHIFT_5
|
||||||
|
imply SYS_ARM_MMU
|
||||||
|
|
||||||
config CPU_SA1100
|
config CPU_SA1100
|
||||||
bool
|
bool
|
||||||
select SYS_CACHE_SHIFT_5
|
select SYS_CACHE_SHIFT_5
|
||||||
|
imply SYS_ARM_MMU
|
||||||
|
|
||||||
config SYS_CPU
|
config SYS_CPU
|
||||||
default "arm720t" if CPU_ARM720T
|
default "arm720t" if CPU_ARM720T
|
||||||
|
|
Loading…
Reference in a new issue