summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Rubini <rubini-list@gnudd.com>2009-08-07 13:59:26 +0200
committerBen Warren <biggerbadderben@gmail.com>2009-08-25 13:35:54 -0700
commitd47628a6ecf80cd4584a50b6c795b90c985a48e5 (patch)
treee0f23810581a63741bd407629236382c24b26afb
parentbd931ca61c84039241d438ade4a9755ae0e5372f (diff)
downloadu-boot-imx-d47628a6ecf80cd4584a50b6c795b90c985a48e5.zip
u-boot-imx-d47628a6ecf80cd4584a50b6c795b90c985a48e5.tar.gz
u-boot-imx-d47628a6ecf80cd4584a50b6c795b90c985a48e5.tar.bz2
arm nomadik: activate defrag choose 4k transfer block size
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>
-rw-r--r--include/configs/nhk8815.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/nhk8815.h b/include/configs/nhk8815.h
index 8a83d92..027e8e1 100644
--- a/include/configs/nhk8815.h
+++ b/include/configs/nhk8815.h
@@ -138,6 +138,10 @@
#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