summaryrefslogtreecommitdiffstats
path: root/fs/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-04-10 18:58:58 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-02-19 18:48:38 +0100
commitabd21d1f67d092d845ef3be621f98121c9416ef9 (patch)
tree1081904402d2789aca792db96e70699c7950dec5 /fs/Kconfig
parent2546c5a514e57c0efaeb1664006b2af14d3c0590 (diff)
downloadbarebox-abd21d1f67d092d845ef3be621f98121c9416ef9.tar.gz
barebox-abd21d1f67d092d845ef3be621f98121c9416ef9.tar.xz
Add suport for tftp as a filesystem
This adds tftp filesystem support. It currently duplicates significant amounts of the tftp (command) support. This is ok since we can eventually drop the original tftp command later. tftp is not really suitable to be handled as a filesystem. It lacks support for stat, reading directories and other things. Handling it as a filesystem has one big advantage though: tftp is no special case for boot scripts and/or commands anymore which makes them simpler. This implementation has some improvements to the original tftp command. It supports blocksize negotiation which speeds up transfers if the tftp server supports it. Also we can determine the filesize to transfer if the remote end supports it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs/Kconfig')
-rw-r--r--fs/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/Kconfig b/fs/Kconfig
index 56c02da191..6208cd2119 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -16,6 +16,10 @@ config FS_DEVFS
default y
prompt "devfs support"
+config FS_TFTP
+ bool
+ prompt "tftp support"
+
source fs/fat/Kconfig
config PARTITION_NEED_MTD