arm nomadik: activate defrag choose 4k transfer block size
authorAlessandro Rubini <rubini-list@gnudd.com>
Fri, 7 Aug 2009 11:59:26 +0000 (13:59 +0200)
committerBen Warren <biggerbadderben@gmail.com>
Tue, 25 Aug 2009 20:35:54 +0000 (13:35 -0700)
This chooses 4kB data size for both TFTP and NFS, as an example
about how to use support for IP fragments.

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
include/configs/nhk8815.h

index 8a83d924bbdc0970111d1d800f235941e31bc46f..027e8e16b37933bafea5674cc546aa488a98fac9 100644 (file)
 #define CONFIG_SMC_USE_32_BIT
 #define CONFIG_BOOTFILE                "uImage"
 
+#define CONFIG_IP_DEFRAG       /* Allows faster download, TFTP and NFS */
+#define CONFIG_TFTP_BLOCKSIZE  4096
+#define CONFIG_NFS_READ_SIZE   4096
+
 /* Storage information: onenand and nand */
 #define CONFIG_CMD_ONENAND
 #define CONFIG_MTD_ONENAND_VERIFY_WRITE