[PATCH 1/1] arm/mach-stm32: don't select non-existent STM32_RESET

Patrice CHOTARD patrice.chotard at foss.st.com
Wed Feb 25 09:44:24 CET 2026



On 2/25/26 08:02, Heinrich Schuchardt wrote:
> Symbol CONFIG_STM32_RESET does not exist.
> Don't select it.
> 
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>  arch/arm/mach-stm32/Kconfig   | 3 ---
>  arch/arm/mach-stm32mp/Kconfig | 4 ----
>  2 files changed, 7 deletions(-)
> 
> diff --git a/arch/arm/mach-stm32/Kconfig b/arch/arm/mach-stm32/Kconfig
> index de9d8547e61..1c6de559142 100644
> --- a/arch/arm/mach-stm32/Kconfig
> +++ b/arch/arm/mach-stm32/Kconfig
> @@ -10,7 +10,6 @@ config STM32F4
>  	select PINCTRL_STM32
>  	select RAM
>  	select STM32_RCC
> -	select STM32_RESET
>  	select STM32_SDRAM
>  	select STM32_SERIAL
>  	select STM32_TIMER
> @@ -27,7 +26,6 @@ config STM32F7
>  	select PINCTRL_STM32
>  	select RAM
>  	select STM32_RCC
> -	select STM32_RESET
>  	select STM32_SDRAM
>  	select STM32_SERIAL
>  	select STM32_TIMER
> @@ -47,7 +45,6 @@ config STM32H7
>  	select RAM
>  	select REGMAP
>  	select STM32_RCC
> -	select STM32_RESET
>  	select STM32_SDRAM
>  	select STM32_SERIAL
>  	select STM32_TIMER
> diff --git a/arch/arm/mach-stm32mp/Kconfig b/arch/arm/mach-stm32mp/Kconfig
> index 2716844b259..8ade36e4fbb 100644
> --- a/arch/arm/mach-stm32mp/Kconfig
> +++ b/arch/arm/mach-stm32mp/Kconfig
> @@ -50,7 +50,6 @@ config STM32MP13X
>  	select OF_BOARD_SETUP
>  	select PINCTRL_STM32
>  	select STM32_RCC
> -	select STM32_RESET
>  	select STM32_SERIAL
>  	select SUPPORT_SPL if !TFABOOT
>  	select SYS_ARCH_TIMER
> @@ -72,7 +71,6 @@ config STM32MP15X
>  	select OF_BOARD_SETUP
>  	select PINCTRL_STM32
>  	select STM32_RCC
> -	select STM32_RESET
>  	select STM32_SERIAL
>  	select SUPPORT_SPL
>  	select SYS_ARCH_TIMER
> @@ -91,7 +89,6 @@ config STM32MP23X
>  	select OF_BOARD
>  	select PINCTRL_STM32
>  	select STM32_RCC
> -	select STM32_RESET
>  	select STM32_SERIAL
>  	select STM32MP_TAMP_NVMEM
>  	select SYS_ARCH_TIMER
> @@ -117,7 +114,6 @@ config STM32MP25X
>  	select OF_BOARD
>  	select PINCTRL_STM32
>  	select STM32_RCC
> -	select STM32_RESET
>  	select STM32_SERIAL
>  	select SYS_ARCH_TIMER
>  	select TFABOOT

Hi Heinrich

I noticed that i will need to send an additional patch similar to yours when my last pull request will be 
merged by Tom as i was still using STM32_RESET when adding STM32MP21 support:

https://patchwork.ozlabs.org/project/uboot/patch/20260203-upstream_add_stm32mp21_support-v1-5-48ca3409cce1@foss.st.com/

Reviewed-by: Patrice Chotard <patrice.chotard at foss.st.com>

Thanks
Patrice


More information about the U-Boot mailing list