diff options
author | Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org> | 2022-11-08 14:17:29 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-11-28 13:06:39 -0500 |
commit | cfbae48219fd81f6c9e1a7b5ee160cdd3005f958 (patch) | |
tree | cf1e9db0754ad81314df553a1c69c9e1edeef482 /cmd/Kconfig | |
parent | a3bf193bf4ea8703bcf96b1a34713fb2ae87aa39 (diff) | |
download | u-boot-cfbae48219fd81f6c9e1a7b5ee160cdd3005f958.tar.gz u-boot-cfbae48219fd81f6c9e1a7b5ee160cdd3005f958.tar.bz2 u-boot-cfbae48219fd81f6c9e1a7b5ee160cdd3005f958.zip |
net: Add wget application
This commit adds a simple wget command that can download files
from http server.
The command syntax is
wget ${loadaddr} <path of the file from server>
Signed-off-by: Duncan Hare <DuncanCHare@yahoo.com>
Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Cc: Christian Gmeiner <christian.gmeiner@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r-- | cmd/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 79848cc6ab..a4b6fc6a5d 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1812,6 +1812,13 @@ config SYS_DISABLE_AUTOLOAD is complete. Enable this option to disable this behavior and instead require files to be loaded over the network by subsequent commands. +config CMD_WGET + bool "wget" + select TCP + help + wget is a simple command to download kernel, or other files, + from a http server over TCP. + config CMD_MII bool "mii" imply CMD_MDIO |