[PATCH v2 17/22] arm: stm32mp: fix package IDs for stm32mp25

Patrice CHOTARD patrice.chotard at foss.st.com
Mon Apr 28 15:23:58 CEST 2025



On 4/25/25 15:15, Patrice Chotard wrote:
> Fix package IDs for stm32mp25.
> 
> Signed-off-by: Patrice Chotard <patrice.chotard at foss.st.com>
> ---
> 
> (no changes since v1)
> 
>  arch/arm/mach-stm32mp/include/mach/sys_proto.h |  6 +++---
>  arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c    | 10 +++++-----
>  2 files changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/arch/arm/mach-stm32mp/include/mach/sys_proto.h b/arch/arm/mach-stm32mp/include/mach/sys_proto.h
> index 0770f0a0cf6..bf1c39742c1 100644
> --- a/arch/arm/mach-stm32mp/include/mach/sys_proto.h
> +++ b/arch/arm/mach-stm32mp/include/mach/sys_proto.h
> @@ -89,9 +89,9 @@ u32 get_cpu_package(void);
>  
>  /* package used for STM32MP25x */
>  #define STM32MP25_PKG_CUSTOM		0
> -#define STM32MP25_PKG_AL_TBGA361	3
> -#define STM32MP25_PKG_AK_TBGA424	4
> -#define STM32MP25_PKG_AI_TBGA436	5
> +#define STM32MP25_PKG_AL_VFBGA361	1
> +#define STM32MP25_PKG_AK_VFBGA424	3
> +#define STM32MP25_PKG_AI_TFBGA436	5
>  #define STM32MP25_PKG_UNKNOWN		7
>  
>  /* Get SOC name */
> diff --git a/arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c b/arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c
> index ac229bdf7cc..12b43ea5cdf 100644
> --- a/arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c
> +++ b/arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c
> @@ -26,8 +26,8 @@
>  
>  /* Package = bit 0:2 of OTP122 => STM32MP25_PKG defines
>   * - 000: Custom package
> - * - 011: TFBGA361 => AL = 10x10, 361 balls pith 0.5mm
> - * - 100: TFBGA424 => AK = 14x14, 424 balls pith 0.5mm
> + * - 001: VFBGA361 => AL = 10x10, 361 balls pith 0.5mm
> + * - 011: VFBGA424 => AK = 14x14, 424 balls pith 0.5mm
>   * - 101: TFBGA436 => AI = 18x18, 436 balls pith 0.5mm
>   * - others: Reserved
>   */
> @@ -189,13 +189,13 @@ void get_soc_name(char name[SOC_NAME_SIZE])
>  		case STM32MP25_PKG_CUSTOM:
>  			package = "XX";
>  			break;
> -		case STM32MP25_PKG_AL_TBGA361:
> +		case STM32MP25_PKG_AL_VFBGA361:
>  			package = "AL";
>  			break;
> -		case STM32MP25_PKG_AK_TBGA424:
> +		case STM32MP25_PKG_AK_VFBGA424:
>  			package = "AK";
>  			break;
> -		case STM32MP25_PKG_AI_TBGA436:
> +		case STM32MP25_PKG_AI_TFBGA436:
>  			package = "AI";
>  			break;
>  		default:
Applied to u-boot-stm32/master

Thanks
Patrice


More information about the U-Boot mailing list