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, 26 Mar 2018 02:31:19 +0000 (11:31 +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 b60cc2e040a8f3563a4302e3dd570b7a3669ab44..58b09faf35637ed6c1d4546ab97d35f86f53d567 100644 (file)
                        "run load_args; "                               \
                "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;" \