From: Max Filippov Date: Thu, 29 Sep 2016 17:51:05 +0000 (-0700) Subject: xtensa: disable MMU initialization option on MMUv2 cores X-Git-Tag: v4.9-rc6~22^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a4c6be5ad1d0c7af0c5421b68a00b6406b28a325;p=platform%2Fkernel%2Flinux-exynos.git 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: Max Filippov --- diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig index 4a866aa..f610586 100644 --- a/arch/xtensa/Kconfig +++ b/arch/xtensa/Kconfig @@ -212,6 +212,7 @@ config HOTPLUG_CPU config INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX 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 help Earlier version initialized the MMU in the exception vector