rpi: tizen-boot: rpi3-32b: support to enter the flash mode with command
[platform/kernel/u-boot.git] / board / raspberrypi / rpi / tizen-boot-rpi3-32b.scr
index a21beff..13ae5fc 100644 (file)
@@ -19,6 +19,13 @@ if test -e $bootdev $mmcbootdev:$mmcinformpart $rebootparamfile; then;
        fi
 fi
 
+# This is for jumping to flash mode on u-boot.
+if test "${bootmode}" = "download"; then;
+       setenv ramdiskpart 8
+       setenv ramdisksize c00000
+       setenv bootmode flash
+fi
+
 if test "${bootmode}" = "flash"; then;
        if test -n "${ipaddr}"; then;
                ip_opt=\"ip=${ipaddr}::${gateway}:${netmask}\"