summaryrefslogtreecommitdiffstats
path: root/commands/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-01-09 23:23:55 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-01-19 11:48:17 +0100
commitdb474fe0bb5e0efbb4c48d278c1bf9c592e94d4e (patch)
treeb1b270911202052cc9039b2f5f7602b6420d4d72 /commands/Kconfig
parent8943b86aa8e821ed1b5238de840fbfadfeb37224 (diff)
downloadbarebox-db474fe0bb5e0efbb4c48d278c1bf9c592e94d4e.tar.gz
barebox-db474fe0bb5e0efbb4c48d278c1bf9c592e94d4e.tar.xz
commands: Add of_node command
This command allows to create/delete device nodes. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r--commands/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index 4e0b8694dc..d0ea29e104 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -486,6 +486,14 @@ config CMD_OF_PROPERTY
The of_property command allows setting and deleting of properties in
the currently loaded devicetree.
+config CMD_OF_NODE
+ tristate
+ select OFTREE
+ select OFDEVICE
+ prompt "of_node"
+ help
+ The of_property command allows adding and removing devicetree nodes.
+
endmenu
menu "testing"