Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a4c6be5a authored by Max Filippov's avatar Max Filippov
Browse files

xtensa: disable MMU initialization option on MMUv2 cores



MMU initialization option is currently ignored on MMUv2 cores, but it is
used in Kconfig to select kernel load and start addresses. This choice
is not available for MMUv2 cores as they have hardwired TLB entries.
Disable MMU initialization option for known MMUv2 cores so that they get
correct kernel load/start address by default.
This fixes the default allmodconfig build.

Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent 5b8b3c86
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -212,6 +212,7 @@ config HOTPLUG_CPU


config INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX
config INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX
	bool "Initialize Xtensa MMU inside the Linux kernel code"
	bool "Initialize Xtensa MMU inside the Linux kernel code"
	depends on !XTENSA_VARIANT_FSF && !XTENSA_VARIANT_DC232B
	default y if XTENSA_VARIANT_DC233C || XTENSA_VARIANT_CUSTOM
	default y if XTENSA_VARIANT_DC233C || XTENSA_VARIANT_CUSTOM
	help
	help
	  Earlier version initialized the MMU in the exception vector
	  Earlier version initialized the MMU in the exception vector