summaryrefslogtreecommitdiffstats
path: root/commands/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-05-19 13:58:35 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-05-22 08:09:09 +0200
commit9cd128d6bea2152ee2152543f688fff3be13db52 (patch)
treecdd45dbabb7c73874974edb1753896880671dd0f /commands/Kconfig
parente275b2653f87dc6969b3c0baf6f0e7460c62a8db (diff)
downloadbarebox-9cd128d6bea2152ee2152543f688fff3be13db52.tar.gz
barebox-9cd128d6bea2152ee2152543f688fff3be13db52.tar.xz
commands: add of_dump command
The oftree command is overloaded. This adds a dedicated command which only dumps devicetrees to the console so that the corresponding functionality in the oftree command can be removed in the next step. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r--commands/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index 02f0931f75..381f3fdd2e 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -1886,6 +1886,19 @@ config CMD_LSMOD
help
List loaded barebox modules.
+config CMD_OF_DUMP
+ tristate
+ select OFTREE
+ prompt "of_dump"
+ default y if CMD_OFTREE
+ help
+ dump devicetree nodes to the console
+
+ Usage: of_dump [-f] [NODE]
+
+ Options:
+ -f <dtb> work on <dtb> instead of internal devicetree
+
config CMD_OF_NODE
tristate
select OFTREE