artik5: config: enable fastboot chunk download
authorChanho Park <chanho61.park@samsung.com>
Tue, 4 Aug 2015 09:30:05 +0000 (18:30 +0900)
committerChanho Park <chanho61.park@samsung.com>
Tue, 4 Aug 2015 09:30:05 +0000 (18:30 +0900)
This patch enables a chunk download feature of fastboot to download huge
size of file system image.

Change-Id: I1e2636de69e71db9afd73e5dafc0bcbd38b4eee6
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
include/configs/artik5.h

index 093f68c60a96c52e1a63eed0c2c30a91480f345d..f482303e2f082e6639175a69645ec1e4011befe6 100755 (executable)
 #define CFG_FASTBOOT_ADDR_RAMDISK               (0x41000000)
 #define CFG_FASTBOOT_PAGESIZE                   (2048)  // Page size of booting device
 #define CFG_FASTBOOT_SDMMC_BLOCKSIZE            (512)   // Block size of sdmmc
+#define CONFIG_FASTBOOT_GET_MMC_PARTITIONS
+#define CONFIG_FASTBOOT_FLASH_CHUNK
+#ifdef CONFIG_FASTBOOT_FLASH_CHUNK
+#define CONFIG_FASTBOOT_CHUNK_SIZE             64
+#endif
 
 #ifdef CONFIG_EFI_PARTITION
 #define CONFIG_PRI_GPT_SIZE    (34 * 512)