From: Jaehoon Chung Date: Mon, 12 Feb 2018 05:47:19 +0000 (+0900) Subject: config: rpi3: enable the configurations relevant to NFSDOWN X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7cfe5bca7bcb2981c54980d2a7b131edf3a5b814;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 9b281a4..aa6cb07 100644 --- a/configs/rpi_3_defconfig +++ b/configs/rpi_3_defconfig @@ -45,3 +45,4 @@ CONFIG_SYS_WHITE_ON_BLACK=y CONFIG_CONSOLE_SCROLL_LINES=10 CONFIG_PHYS_TO_BUS=y CONFIG_OF_LIBFDT_OVERLAY=y +CONFIG_CMD_NFS_DOWNLOAD=y diff --git a/include/configs/rpi.h b/include/configs/rpi.h index 834f1cd..2f186b4 100644 --- a/include/configs/rpi.h +++ b/include/configs/rpi.h @@ -104,6 +104,29 @@ #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_SET_DFU_ALT_INFO +#define CONFIG_SET_DFU_ALT_BUF_LEN (SZ_1K) + /* Environment */ #define ENV_DEVICE_SETTINGS \ "stdin=serial,usbkbd\0" \