summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2022-06-09 07:59:15 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2022-06-17 08:28:55 +0200
commit30e6f9027e2b15536a4e85878406f0c056f55b10 (patch)
treec80949038969fe047375eddc39a452c4d4f7f618 /arch
parent402a9a090b3143b7c63a695dd8211ee124fe4d15 (diff)
downloadbarebox-30e6f9027e2b15536a4e85878406f0c056f55b10.tar.gz
barebox-30e6f9027e2b15536a4e85878406f0c056f55b10.tar.xz
ARM: rpi: rpi3: disallow MMU_EARLY && 64BIT
Early MMU setup in 64-bit Raspberry Pi 3 barebox hangs, while normal setup concludes normally. Until this is figured out, disallow build of 64-Bit Raspberry Pi 3 support while CONFIG_MMU_EARLY=y. This issue doesn't affect the Raspberry Pi 4. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220609055922.667016-15-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-bcm283x/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-bcm283x/Kconfig b/arch/arm/mach-bcm283x/Kconfig
index af34d1c973..3800642440 100644
--- a/arch/arm/mach-bcm283x/Kconfig
+++ b/arch/arm/mach-bcm283x/Kconfig
@@ -41,11 +41,13 @@ config MACH_RPI3
bool "RaspberryPi 3 (BCM2837/CORTEX-A53)"
select MACH_RPI_AARCH_32_64
select MACH_RPI_COMMON
+ depends on 32BIT || (64BIT && !MMU_EARLY)
config MACH_RPI_CM3
bool "RaspberryPi Compute Module 3 (BCM2837/CORTEX-A53)"
select MACH_RPI_AARCH_32_64
select MACH_RPI_COMMON
+ depends on 32BIT || (64BIT && !MMU_EARLY)
endmenu