mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH master] ARM: rockchip: don't attempt building MACH_RADXA_ROCK5 without firmware
@ 2023-05-23  9:41 Ahmad Fatoum
  2023-05-25  6:49 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2023-05-23  9:41 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

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>
---
 arch/arm/mach-rockchip/Kconfig | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index 38736102d334..a71c4ae35dd9 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
-- 
2.39.2




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-25  6:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-23  9:41 [PATCH master] ARM: rockchip: don't attempt building MACH_RADXA_ROCK5 without firmware Ahmad Fatoum
2023-05-25  6:49 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox