summaryrefslogtreecommitdiffstats
path: root/commands/Kconfig
diff options
context:
space:
mode:
authorHolger Schurig <holgerschurig@gmail.com>2014-05-30 11:07:27 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-06-02 09:06:45 +0200
commitc19c0da71caaeb2dc6f53e7d53d9ebad24e46c09 (patch)
tree98d246535fea8aecddf511b732af485a2733234e /commands/Kconfig
parent4d1ebec9dac6b8b6b10fc1b3ce1a899df1fca1a1 (diff)
downloadbarebox-c19c0da71caaeb2dc6f53e7d53d9ebad24e46c09.tar.gz
barebox-c19c0da71caaeb2dc6f53e7d53d9ebad24e46c09.tar.xz
drvlist: factor the driver list out of 'devinfo'
The command 'devinfo' was first spitting out all devices, and then also all drivers. This patch separates them into two commands, 'devinfo' as before, and also the new command 'drvinfo' Signed-off-by: Holger Schurig <holgerschurig@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r--commands/Kconfig9
1 files changed, 8 insertions, 1 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index 6043cb6762..c3b40079ff 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -79,11 +79,18 @@ config CMD_DEVINFO
devinfo [DEVICE]
If called without arguments, devinfo shows a summary of the known
- devices and drivers.
+ devices.
If called with a device path being the argument, devinfo shows more
default information about this device and its parameters.
+config CMD_DRVINFO
+ tristate
+ default y
+ prompt "drvinfo"
+ help
+ List compiled-in device drivers and the devices they support.
+
config CMD_HELP
tristate
default y