[PATCH] ARM: stm32mp: Make ARCH_STM32MP13 and ARCH_STM32MP157 selectable

Jonas Rebmann jre at pengutronix.de
Tue Feb 3 02:19:17 PST 2026


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 at 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 at pengutronix.de>




More information about the barebox mailing list