]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: stm32: Rename update_sf to dh_update_sd_to_sf on STM32MP15xx DHCOR
authorMarek Vasut <marex@denx.de>
Mon, 2 Oct 2023 15:52:33 +0000 (17:52 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Wed, 4 Oct 2023 11:26:03 +0000 (13:26 +0200)
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@denx.de>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
include/configs/stm32mp15_dh_dhsom.h

index 919216906249e5d3724758f8f5048a0446f29e38..c7ebf5cd18062e8272552ab3b67fe427cf6d0df8 100644 (file)
@@ -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>