aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorBernhard Nortmann <bernhard.nortmann@web.de>2015-09-14 15:29:46 +0200
committerJoe Hershberger <joe.hershberger@ni.com>2015-09-29 21:54:46 -0500
commit266607480973a564f545eab1af5057d752480708 (patch)
tree3791bc8af5bdf6f74f9c5ff6475bd6c783d2e4bb /net
parent4917c061a206b1c220307599bbda84b9bc4d44f2 (diff)
downloadu-boot-266607480973a564f545eab1af5057d752480708.zip
u-boot-266607480973a564f545eab1af5057d752480708.tar.gz
u-boot-266607480973a564f545eab1af5057d752480708.tar.bz2
net: support NETCONSOLE option via Kconfig
This patch introduces CONFIG_NETCONSOLE as an option to the Kconfig system. Joe Hershberger pointed out that it may not be entirely free of problems, as many boards predating the driver model define this symbol directly via include files. In case they're not properly migrated, their NetConsole might 'vanish' if they start to use CONFIG_NET or CONFIG_NETDEVICES. Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'net')
-rw-r--r--net/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig
index 915371d..77a2f7e 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -16,4 +16,10 @@ config NET_RANDOM_ETHADDR
A new MAC address will be generated on every boot and it will
not be added to the environment.
+config NETCONSOLE
+ bool "NetConsole support"
+ help
+ Support the 'nc' input/output device for networked console.
+ See README.NetConsole for details.
+
endif # if NET