From: Marek Szyprowski Date: Wed, 25 Mar 2020 08:10:11 +0000 (+0100) Subject: cmd/nfsdown: fix download image names for all RPi variants X-Git-Tag: submit/tizen/20200331.090714~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1e837375b99080c6e886ef10ae0605dc16112d80;p=platform%2Fkernel%2Fu-boot.git cmd/nfsdown: fix download image names for all RPi variants There is no single CONFIG option for all RPi variants, so preprocessor has to check all of them. Signed-off-by: Marek Szyprowski Change-Id: I730a7f29dbf529c3da1c06f075e4c7a52089bf6c --- diff --git a/cmd/nfsdown.c b/cmd/nfsdown.c index 4122b04c6a..9f3da51dea 100644 --- a/cmd/nfsdown.c +++ b/cmd/nfsdown.c @@ -56,7 +56,10 @@ struct img_comp { struct list_head list; }; -#ifdef CONFIG_TARGET_RPI_3 +#if defined(CONFIG_TARGET_RPI_3) || \ + defined(CONFIG_TARGET_RPI_4) || \ + defined(CONFIG_TARGET_RPI_3_32B) || \ + defined(CONFIG_TARGET_RPI_4_32B) static char *g_update_image_names[] = { "boot.img", "rootfs.img",