Merge tag 'v2023.07-rc6' into next
[platform/kernel/u-boot.git] / board / storopack / smegw01 / smegw01.env
index 25bc7cd..1263dda 100644 (file)
@@ -29,7 +29,16 @@ altbootcmd=
        run bootcmd;
 boot_emmc=setenv mmcdev_wanted 1; run persist_mmcdev; run bootcmd;
 boot_sd=setenv mmcdev_wanted 0; run persist_mmcdev; run bootcmd;
-bootcmd=run finduuid; run distro_bootcmd
+bootcmd=
+       if test "${bootcount}" -gt "${bootlimit}"; then
+               run altbootcmd;
+       else
+               if test "${ustate}" = 1; then
+                       setenv upgrade_available 1;
+                       saveenv;
+               fi;
+               run mmcboot;
+       fi;
 bootdelay=2
 bootlimit=3
 bootm_size=0x10000000