cmd: nfsdown: add the update_image_names for rpi3
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 12 Feb 2018 05:48:28 +0000 (14:48 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 10 Oct 2019 04:38:40 +0000 (13:38 +0900)
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 de691bb98aeb848fc11caa5dfeecb0028f24b8d3..6653b3ca8bdd1ec8eacdeece08384e42de699e29 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;