[PATCH 1/2] stm32mp1: remove the imply BOOTSTAGE

Patrick DELAUNAY patrick.delaunay at st.com
Wed Dec 18 11:56:48 CET 2019


Hi,

> From: Patrick DELAUNAY <patrick.delaunay at st.com>
> Sent: mercredi 18 décembre 2019 10:13
> 
> This patch is only a temporarily workaround for crash introduced by commit
> ac9cd4805c8b ("bootstage: Correct relocation algorithm").
> 
> The crash occurs because the bootstage struct is not correctly aligned when
> BOOTSTAGE feature is activated.
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>

Acked-by: Patrick Delaunay <patrick.delaunay at st.com>

Applied to u-boot-stm32/master, thanks!

> ---
> Hi,
> 
> For issue analysis and patch proposal, see the patch
> 
> [U-Boot,v3] board_f.c: Insure gd->new_bootstage alignment
> http://patchwork.ozlabs.org/patch/1201452/
> 
> Patrick
> 
> 
>  arch/arm/mach-stm32mp/Kconfig | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/arch/arm/mach-stm32mp/Kconfig b/arch/arm/mach-stm32mp/Kconfig
> index c9bc084194..a110522095 100644
> --- a/arch/arm/mach-stm32mp/Kconfig
> +++ b/arch/arm/mach-stm32mp/Kconfig
> @@ -46,9 +46,7 @@ config TARGET_STM32MP1
>  	select STM32_SERIAL
>  	select SYS_ARCH_TIMER
>  	imply BOOTCOUNT_LIMIT
> -	imply BOOTSTAGE
>  	imply CMD_BOOTCOUNT
> -	imply CMD_BOOTSTAGE
>  	imply DISABLE_CONSOLE
>  	imply PRE_CONSOLE_BUFFER
>  	imply SILENT_CONSOLE
> --
> 2.17.1

Regards
Patrick


More information about the U-Boot mailing list