cmd: nfsdown: add the update_image_names for rpi3 49/169949/4
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 12 Feb 2018 05:48:28 +0000 (14:48 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 19 Feb 2018 02:13:38 +0000 (02:13 +0000)
RPi3 has the names of different file with other exynos boards.
Add the update_image_names for rpi3.

Change-Id: I133f8eb65279629b912aab3715101b46cbf16b4d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
cmd/nfsdown.c

index ff574683a4ef0d933f0a6412cb9512e5435f93ac..38d8dad28d17416edf8a75800f929bf1cbbae3cb 100644 (file)
@@ -54,6 +54,17 @@ struct img_comp {
        struct list_head list;
 };
 
+#ifdef CONFIG_TARGET_RPI_3
+static char *g_update_image_names[] = {
+       "boot.img",
+       "rootfs.img",
+       "system-data.img",
+       "user.img",
+       "modules.img",
+       "ramdisk.img",
+       "ramdisk-recovery.img"
+};
+#else
 static char *g_update_image_names[] = {
        "bl1.bin",
        "bl2.bin",
@@ -67,6 +78,7 @@ static char *g_update_image_names[] = {
        "modules.img",
        "ramdisk.img"
 };
+#endif
 
 #if defined(CONFIG_CMD_USB) && defined(CONFIG_USB_HOST_ETHER)
 extern char usb_started;