mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: stm32mp: Make ARCH_STM32MP13 and ARCH_STM32MP157 selectable
@ 2026-02-03 10:19 Jonas Rebmann
  2026-02-03 10:24 ` Ahmad Fatoum
  2026-02-03 10:35 ` Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Jonas Rebmann @ 2026-02-03 10:19 UTC (permalink / raw)
  To: Sascha Hauer, BAREBOX; +Cc: Jonas Rebmann

ARCH_STM32MP13 and ARCH_STM32MP157 are automatically selected if a
dependent machine is selected. However, without any machine selected,
CONFIG_ARCH_STM32MP still enables build of the
barebox-stm32mp-generic.img image, which, provided a dtb, is functional
without requiring further board specific code.

In this case ARCH_STM32MP13 and/or ARCH_STM32MP157 need to be explicitly
enabled for the SoC to be fully functional (e.g. clocks).

Signed-off-by: Jonas Rebmann <jre@pengutronix.de>
---
 arch/arm/mach-stm32mp/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-stm32mp/Kconfig b/arch/arm/mach-stm32mp/Kconfig
index 54ce644d73..18a0bf284b 100644
--- a/arch/arm/mach-stm32mp/Kconfig
+++ b/arch/arm/mach-stm32mp/Kconfig
@@ -8,11 +8,11 @@ config ARCH_NR_GPIO
 
 config ARCH_STM32MP13
 	select ARM_PSCI_CLIENT
-	bool
+	bool "Support STM32MP153-based chips"
 
 config ARCH_STM32MP157
 	select ARM_PSCI_CLIENT
-	bool
+	bool "Support STM32MP157-based chips"
 
 config MACH_STM32MP13XX_DK
 	select ARCH_STM32MP13

---
base-commit: 378bc32467af0afbbcb9d9e3cc1bfd5fb429a826
change-id: 20260203-stm32-generic-580c70661681

Best regards,
--  
Jonas Rebmann <jre@pengutronix.de>




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

end of thread, other threads:[~2026-02-03 10:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-03 10:19 [PATCH] ARM: stm32mp: Make ARCH_STM32MP13 and ARCH_STM32MP157 selectable Jonas Rebmann
2026-02-03 10:24 ` Ahmad Fatoum
2026-02-03 10:35 ` Sascha Hauer

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