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 <jiamin.ma@amlogic.com>
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:
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"