From 7e7ceb2714117338b29a72b377a0db3cfb2009c4 Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Mon, 12 Feb 2018 14:48:28 +0900 Subject: [PATCH] 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 --- cmd/nfsdown.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/cmd/nfsdown.c b/cmd/nfsdown.c index de691bb..6653b3c 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; -- 2.7.4