summaryrefslogtreecommitdiffstats
path: root/commands/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-01-09 16:41:44 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-01-19 11:48:17 +0100
commit8943b86aa8e821ed1b5238de840fbfadfeb37224 (patch)
tree2cc34b920991eee75de3dc0cfc4fbc6f4cd876e1 /commands/Kconfig
parenta2288e64b74b5df8a40309dd636ae2ce8c39b12b (diff)
downloadbarebox-8943b86aa8e821ed1b5238de840fbfadfeb37224.tar.gz
barebox-8943b86aa8e821ed1b5238de840fbfadfeb37224.tar.xz
commands: Add of_property command
The of_property command allows to modify/add/delete properties. Parsing user input is based on U-Boot code with some fixes added for catching invalid input. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r--commands/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index b9151ed25a..4e0b8694dc 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -477,6 +477,15 @@ config CMD_OFTREE
The oftree command has support for dumping devicetrees and, if
enabled, to probe devices from the devicetree
+config CMD_OF_PROPERTY
+ tristate
+ select OFTREE
+ select OFDEVICE
+ prompt "of_property"
+ help
+ The of_property command allows setting and deleting of properties in
+ the currently loaded devicetree.
+
endmenu
menu "testing"