From: Jaehoon Chung Date: Mon, 12 Feb 2018 05:48:28 +0000 (+0900) Subject: cmd: nfsdown: add the update_image_names for rpi3 X-Git-Tag: submit/tizen/20180220.000957~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0b8af0efe32839a644011d84a3b2221712f9a427;p=platform%2Fkernel%2Fu-boot.git cmd: nfsdown: add the update_image_names for rpi3 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 --- diff --git a/cmd/nfsdown.c b/cmd/nfsdown.c index ff574683a4..38d8dad28d 100644 --- a/cmd/nfsdown.c +++ b/cmd/nfsdown.c @@ -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;