From: Jonas Rebmann <jre@pengutronix.de>
To: Sascha Hauer <s.hauer@pengutronix.de>,
BAREBOX <barebox@lists.infradead.org>
Cc: Jonas Rebmann <jre@pengutronix.de>
Subject: [PATCH] ARM: stm32mp: Make ARCH_STM32MP13 and ARCH_STM32MP157 selectable
Date: Tue, 03 Feb 2026 11:19:17 +0100 [thread overview]
Message-ID: <20260203-stm32-generic-v1-1-6fa7a2df3cee@pengutronix.de> (raw)
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>
next reply other threads:[~2026-02-03 10:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-03 10:19 Jonas Rebmann [this message]
2026-02-03 10:24 ` Ahmad Fatoum
2026-02-03 10:35 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260203-stm32-generic-v1-1-6fa7a2df3cee@pengutronix.de \
--to=jre@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox