* [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
* Re: [PATCH] ARM: stm32mp: Make ARCH_STM32MP13 and ARCH_STM32MP157 selectable
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
1 sibling, 0 replies; 3+ messages in thread
From: Ahmad Fatoum @ 2026-02-03 10:24 UTC (permalink / raw)
To: Jonas Rebmann, Sascha Hauer, BAREBOX
Hello Jonas,
On 2/3/26 11:19 AM, Jonas Rebmann wrote:
> 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>
Agreed, See d92583d5bab2 ("ARM: cpu: allow selecting CPU_V7/CPU_V8
directly").
Reviewed-by: Ahmad Fatoum <a.fatoum@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>
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: stm32mp: Make ARCH_STM32MP13 and ARCH_STM32MP157 selectable
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
1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2026-02-03 10:35 UTC (permalink / raw)
To: BAREBOX, Jonas Rebmann
On Tue, 03 Feb 2026 11:19:17 +0100, Jonas Rebmann wrote:
> 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).
>
> [...]
Applied, thanks!
[1/1] ARM: stm32mp: Make ARCH_STM32MP13 and ARCH_STM32MP157 selectable
https://git.pengutronix.de/cgit/barebox/commit/?id=ab3e677a2be3 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@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