[PATCH 1/2] ARM: stm32: Rename update_sf to dh_update_sd_to_sf on STM32MP15xx DHCOR

Patrice CHOTARD patrice.chotard at foss.st.com
Wed Oct 4 11:35:46 CEST 2023



On 10/2/23 17:52, Marek Vasut wrote:
> Align the script name with DH i.MX8MP DHCOM script name. Add
> backward compatibility script to avoid breaking user scripts.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> ---
> Cc: Patrice Chotard <patrice.chotard at foss.st.com>
> Cc: Patrick Delaunay <patrick.delaunay at foss.st.com>
> Cc: u-boot at dh-electronics.com
> Cc: u-boot at lists.denx.de
> Cc: uboot-stm32 at st-md-mailman.stormreply.com
> ---
>  include/configs/stm32mp15_dh_dhsom.h | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/include/configs/stm32mp15_dh_dhsom.h b/include/configs/stm32mp15_dh_dhsom.h
> index 91921690624..c7ebf5cd180 100644
> --- a/include/configs/stm32mp15_dh_dhsom.h
> +++ b/include/configs/stm32mp15_dh_dhsom.h
> @@ -20,7 +20,7 @@
>  
>  #define STM32MP_BOARD_EXTRA_ENV \
>  	"usb_pgood_delay=1000\0" \
> -	"update_sf=" /* Erase SPI NOR and install U-Boot from SD */	\
> +	"dh_update_sd_to_sf=" /* Erase SPI NOR and install U-Boot from SD */ \
>  		"setexpr loadaddr1 ${loadaddr} + 0x1000000 && "		\
>  		"load mmc 0:4 ${loadaddr1} /boot/u-boot-spl.stm32 && "	\
>  		"env set filesize1 ${filesize} && "			\
> @@ -29,7 +29,9 @@
>  		"sf update ${loadaddr1} 0 ${filesize1} && "		\
>  		"sf update ${loadaddr1} 0x40000 ${filesize1} && "	\
>  		"sf update ${loadaddr} 0x80000 ${filesize} && "		\
> -		"env set filesize1 && env set loadaddr1\0"
> +		"env set filesize1 && env set loadaddr1\0"		\
> +	"update_sf=run dh_update_sd_to_sf\0"
> +
>  
>  #include <configs/stm32mp15_common.h>
>  

Hi Marek

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

Thanks
Patrice


More information about the U-Boot mailing list