summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-rockchip
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2023-05-23 11:41:24 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2023-05-25 08:48:37 +0200
commit41a89611774a7daa4f21ffbbed53a616f324d6f7 (patch)
tree235b3e4f3d3b3ca3bce8697da6ecf79c952b4a96 /arch/arm/mach-rockchip
parent2ff6a849a5415a565de62a159fd5922fb16d462b (diff)
downloadbarebox-41a89611774a7daa4f21ffbbed53a616f324d6f7.tar.gz
barebox-41a89611774a7daa4f21ffbbed53a616f324d6f7.tar.xz
ARM: rockchip: don't attempt building MACH_RADXA_ROCK5 without firmware
Otherwise, multi_v8_defconfig would give errors for users that are only interested in using it for qemu-virt64, which requires no external firmware to be built into barebox. While at it, fix spaces to tabs to be in-line with the rest of the file. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230523094124.3453658-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-rockchip')
-rw-r--r--arch/arm/mach-rockchip/Kconfig7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index 38736102d3..a71c4ae35d 100644
--- a/arch/arm/mach-rockchip/Kconfig
+++ b/arch/arm/mach-rockchip/Kconfig
@@ -102,9 +102,10 @@ config MACH_RADXA_ROCK3
Say Y here if you are using a Radxa ROCK3
config MACH_RADXA_ROCK5
- select ARCH_RK3588
- bool "Radxa ROCK5"
- help
+ select ARCH_RK3588
+ depends on $(success,test -e $(srctree)/arch/arm/boards/radxa-rock5/sdram-init.bin)
+ bool "Radxa ROCK5"
+ help
Say Y here if you are using a Radxa ROCK5
config MACH_RADXA_CM3