]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
stm32mp1: configs: add altbootcmd
authorPatrick Delaunay <patrick.delaunay@st.com>
Tue, 30 Jul 2019 17:16:34 +0000 (19:16 +0200)
committerPatrice Chotard <patrice.chotard@st.com>
Tue, 27 Aug 2019 07:36:56 +0000 (09:36 +0200)
Add altbootcmad as it is used for
- bootcountlimit
- in mach-stm32mp/cpu.c for BOOT_RECOVERY mode

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
include/configs/stm32mp1.h

index b2b86602bb4f269d2aa85ce1748109c6101a5753..ae0530851f5fe72986b41463d5f0dff7f51b3624 100644 (file)
        "ramdisk_addr_r=0xc4400000\0" \
        "fdt_high=0xffffffff\0" \
        "initrd_high=0xffffffff\0" \
-       "env_default=1\0"                               \
+       "altbootcmd=run bootcmd\0" \
+       "env_default=1\0" \
        "env_check=if test $env_default -eq 1;"\
                " then env set env_default 0;env save;fi\0" \
        STM32MP_BOOTCMD \