configs: artik530_raptor: support fota bootmode
authorJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 2 Nov 2017 04:41:00 +0000 (13:41 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 21 Jan 2019 07:07:57 +0000 (16:07 +0900)
Support fota bootmode in the booting script.

Change-Id: Ie9e87e0223394173cc025f32e76997a189ad3f23
Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
include/configs/artik530_raptor.h

index 8851fbc5abda787b124d1cb0db556471698682e4..31bf8eab14db824b9644f8eb9dbf99cce6c2b901 100644 (file)
        "        run load_args\n"                                       \
        "    fi\0"                                                      \
        "load_initrd=" \
-               "if test ${bootmode} = recovery; then; "        \
+               "if test ${bootmode} = recovery || test ${bootmode} = fota; then; "     \
                        "if test -e mmc ${rootdev}:${bootpart} ramdisk-recovery.img; then " \
                                "echo ${bootmode} booting.;"    \
                                "setenv ramdisk_file ramdisk-recovery.img;" \