diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-09-27 14:37:12 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-09-28 16:23:43 +0200 |
commit | 4183b9ab586b7aa74d6a00bbf4db13384b707bde (patch) | |
tree | 01153e63c430864d3955a59cd370619702de13da /commands/Kconfig | |
parent | 1af6fdcd03dbc311d785625bd6e2329f7ce1adb7 (diff) | |
download | barebox-4183b9ab586b7aa74d6a00bbf4db13384b707bde.tar.gz barebox-4183b9ab586b7aa74d6a00bbf4db13384b707bde.tar.xz |
net: Add tftp command which uses the new tftp code
Traditionally tftp is a command of its own. Since we can
mount tftp as a filesystem we have duplicated the tftp code, the old
code is used by the tftp command, the new by the filesystem support.
This adds a tftp command based on the filesystem support to preserve
backward compatibility. This allows us to remove the old tftp support
in the next step.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r-- | commands/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig index f2756cc400..dd663e8ba1 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -230,6 +230,14 @@ config CMD_READLINK help read value of a symbolic link +config CMD_TFTP + depends on FS_TFTP + tristate + prompt "tftp" + help + barebox can mount tftp as a filesystem. This command is only needed to + preserve backward compatibility to the old tftp command. + endmenu menu "console " |