From: Jaehoon Chung Date: Mon, 12 Feb 2018 05:47:19 +0000 (+0900) Subject: config: rpi3: enable the configurations relevant to NFSDOWN X-Git-Tag: submit/tizen/20180220.000957~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fc53d832dca7004fbaff0aaa8268648adba563ee;p=platform%2Fkernel%2Fu-boot.git config: rpi3: enable the configurations relevant to NFSDOWN Enable the configurations relevant to nfsdown command for rpi3. Change-Id: Ic050057e75f4e92b1507ca84c642ba3c798ba6fc Signed-off-by: Jaehoon Chung --- diff --git a/configs/rpi_3_defconfig b/configs/rpi_3_defconfig index 6eed30ae83..36baf8fb54 100644 --- a/configs/rpi_3_defconfig +++ b/configs/rpi_3_defconfig @@ -47,3 +47,4 @@ CONFIG_CONSOLE_SCROLL_LINES=10 CONFIG_LCD=y CONFIG_PHYS_TO_BUS=y # CONFIG_EFI_LOADER is not set +CONFIG_CMD_NFS_DOWNLOAD=y diff --git a/include/configs/rpi.h b/include/configs/rpi.h index 72a220b0a8..ebaabe1f50 100644 --- a/include/configs/rpi.h +++ b/include/configs/rpi.h @@ -139,6 +139,30 @@ #define CONFIG_CMDLINE_TAG #define CONFIG_INITRD_TAG +#define CONFIG_DFU_ALT_SYSTEM \ + "Image fat 0 1;" \ + "bcm2710-rpi3-b.dtb fat 0 1;" \ + "bcm2837-rpi3-b.dtb fat 0 1;" \ + "u-boot.img fat 0 1;" \ + "u-boot.env fat 0 1;" \ + "optee.bin fat 0 1;" \ + "boot.img part 0 1;" \ + "rootfs part 0 2;" \ + "system-data part 0 3;" \ + "user part 0 5;" \ + "module part 0 6;" \ + "ramdisk.img part 0 7;" \ + "ramdisk-recovery part 0 8\0" + +#define CONFIG_DFU_ALT_BOOT_EMMC "" + +/* NFSDOWN */ +#define CONFIG_IP_DEFRAG +#define CONFIG_NFS_READ_SIZE 65536 + +#define CONFIG_SET_DFU_ALT_INFO +#define CONFIG_SET_DFU_ALT_BUF_LEN (SZ_1K) + #include /* Environment */