From: Jiamin Ma Date: Thu, 17 Jan 2019 11:42:45 +0000 (+0800) Subject: Kconfig: fix errorly select meson8b for ARMv8 AARCH32 [1/1] X-Git-Tag: khadas-vims-v0.9.6-release~920 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6a603ab0859f938c70736b7bd1c75fdecc33c165;p=platform%2Fkernel%2Flinux-amlogic.git Kconfig: fix errorly select meson8b for ARMv8 AARCH32 [1/1] PD#SWPL-4320 Problem: The meson8b and arm64_a32 are both selected in Kconfig, which is quite misleading Solution: Disable meson8b when arm64_a32 is selected Verify: Locally passed for Ampere Change-Id: I93f55239ea90bf8cf6b96e108b6fd4a239de32b4 Signed-off-by: Jiamin Ma --- diff --git a/arch/arm/boot/Makefile b/arch/arm/boot/Makefile index 30fd2ed..e6aca688 100644 --- a/arch/arm/boot/Makefile +++ b/arch/arm/boot/Makefile @@ -21,6 +21,10 @@ ifeq ($(CONFIG_MACH_MESON8B),y) include $(srctree)/arch/arm/mach-meson/Makefile.boot endif +ifeq ($(CONFIG_ARM64_A32),y) +include $(srctree)/arch/arm/mach-meson/Makefile.boot +endif + include $(srctree)/arch/arm/boot/dts/Makefile # Note: the following conditions must always be true: diff --git a/arch/arm/mach-meson/Kconfig b/arch/arm/mach-meson/Kconfig index 44a995c..cda1cc1 100644 --- a/arch/arm/mach-meson/Kconfig +++ b/arch/arm/mach-meson/Kconfig @@ -12,17 +12,17 @@ if ARCH_MESON config MACH_MESON6 bool "Amlogic Meson6 (8726MX) SoCs support" - default ARCH_MESON + default !ARM64_A32 select MESON6_TIMER config MACH_MESON8 bool "Amlogic Meson8 SoCs support" - default ARCH_MESON + default !ARM64_A32 select MESON6_TIMER config MACH_MESON8B bool "Amlogic Meson8b SoCs support" - default ARCH_MESON + default !ARM64_A32 config ARM64_A32 tristate "ARMV8 Run in A32"