[PATCH 04/10] arm: mach-stm32: add stm32h7 subdirectory

Patrice CHOTARD patrice.chotard at foss.st.com
Tue May 27 15:07:55 CEST 2025



On 5/8/25 23:24, Johannes Krottmayer wrote:
> Add 'stm32h7' subdirectory to main Makefile.
> 
> Signed-off-by: Johannes Krottmayer <johannes at krotti42.com>
> Cc: Patrick Delaunay <patrick.delaunay at foss.st.com>
> Cc: Patrice Chotard <patrice.chotard at foss.st.com>
> ---
>  arch/arm/mach-stm32/Makefile | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/mach-stm32/Makefile b/arch/arm/mach-stm32/Makefile
> index 03d535d8148..8af4943e542 100644
> --- a/arch/arm/mach-stm32/Makefile
> +++ b/arch/arm/mach-stm32/Makefile
> @@ -3,3 +3,5 @@
>  # (C) Copyright 2000-2006
>  # Wolfgang Denk, DENX Software Engineering, wd at denx.de.
>  obj-y += soc.o
> +
> +obj-$(CONFIG_STM32H7) += stm32h7/

Hi Johannes

Why are you adding this ?

arch/arm/mach-stm32/stm32h7 directory already exists, with a Kconfig allowing to build 
all other STM32H7xx based boards. Simply add new entry in this Kconfig for STM32H747.

Drop this patch.

Patrice


More information about the U-Boot mailing list