xtensa: clean up Kconfig dependencies for custom cores
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
parent
c75959a6da
commit
de7c1c7862
|
@ -63,9 +63,7 @@ config TRACE_IRQFLAGS_SUPPORT
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
config MMU
|
config MMU
|
||||||
bool
|
def_bool n
|
||||||
default n if !XTENSA_VARIANT_CUSTOM
|
|
||||||
default XTENSA_VARIANT_MMU if XTENSA_VARIANT_CUSTOM
|
|
||||||
|
|
||||||
config VARIANT_IRQ_SWITCH
|
config VARIANT_IRQ_SWITCH
|
||||||
def_bool n
|
def_bool n
|
||||||
|
@ -73,9 +71,6 @@ config VARIANT_IRQ_SWITCH
|
||||||
config HAVE_XTENSA_GPIO32
|
config HAVE_XTENSA_GPIO32
|
||||||
def_bool n
|
def_bool n
|
||||||
|
|
||||||
config MAY_HAVE_SMP
|
|
||||||
def_bool n
|
|
||||||
|
|
||||||
menu "Processor type and features"
|
menu "Processor type and features"
|
||||||
|
|
||||||
choice
|
choice
|
||||||
|
@ -102,7 +97,6 @@ config XTENSA_VARIANT_DC233C
|
||||||
|
|
||||||
config XTENSA_VARIANT_CUSTOM
|
config XTENSA_VARIANT_CUSTOM
|
||||||
bool "Custom Xtensa processor configuration"
|
bool "Custom Xtensa processor configuration"
|
||||||
select MAY_HAVE_SMP
|
|
||||||
select HAVE_XTENSA_GPIO32
|
select HAVE_XTENSA_GPIO32
|
||||||
help
|
help
|
||||||
Select this variant to use a custom Xtensa processor configuration.
|
Select this variant to use a custom Xtensa processor configuration.
|
||||||
|
@ -128,6 +122,7 @@ config XTENSA_VARIANT_MMU
|
||||||
bool "Core variant has a Full MMU (TLB, Pages, Protection, etc)"
|
bool "Core variant has a Full MMU (TLB, Pages, Protection, etc)"
|
||||||
depends on XTENSA_VARIANT_CUSTOM
|
depends on XTENSA_VARIANT_CUSTOM
|
||||||
default y
|
default y
|
||||||
|
select MMU
|
||||||
help
|
help
|
||||||
Build a Conventional Kernel with full MMU support,
|
Build a Conventional Kernel with full MMU support,
|
||||||
ie: it supports a TLB with auto-loading, page protection.
|
ie: it supports a TLB with auto-loading, page protection.
|
||||||
|
@ -145,7 +140,7 @@ source "kernel/Kconfig.preempt"
|
||||||
|
|
||||||
config HAVE_SMP
|
config HAVE_SMP
|
||||||
bool "System Supports SMP (MX)"
|
bool "System Supports SMP (MX)"
|
||||||
depends on MAY_HAVE_SMP
|
depends on XTENSA_VARIANT_CUSTOM
|
||||||
select XTENSA_MX
|
select XTENSA_MX
|
||||||
help
|
help
|
||||||
This option is use to indicate that the system-on-a-chip (SOC)
|
This option is use to indicate that the system-on-a-chip (SOC)
|
||||||
|
|
Loading…
Reference in New Issue