summaryrefslogtreecommitdiffstats
path: root/commands/Kconfig
diff options
context:
space:
mode:
authorTeresa Remmet <t.remmet@phytec.de>2016-02-25 08:36:48 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2016-03-01 08:25:48 +0100
commit11c0f8159d89cc840abed0cbc43497bad6dd99bd (patch)
treeebf0ff50499e38f4d1170c23f9f240e05a0486c4 /commands/Kconfig
parent153c34b34790d89076fc03f3b8798a60c140754b (diff)
downloadbarebox-11c0f8159d89cc840abed0cbc43497bad6dd99bd.tar.gz
barebox-11c0f8159d89cc840abed0cbc43497bad6dd99bd.tar.xz
commands: Add of_fixup_status
of_fixup_status enables or disables the status property of a given node with a device tree fixup. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r--commands/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index b4fdc866a7..9519a44cfc 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -2114,6 +2114,22 @@ config CMD_OF_DISPLAY_TIMINGS
-s path select display-timings and register oftree fixup
-f dtb work on dtb. Has no effect on -s option
+config CMD_OF_FIXUP_STATUS
+ tristate
+ select OFTREE
+ prompt "of_fixup_status"
+ help
+ Register a fixup to enable or disable node
+
+ Usage: of_fixup_node [-d] path
+
+ Options:
+ -d disable node
+ path Node path or alias
+
+ Register a fixup to enable or disable a device tree node.
+ Nodes are enabled on default. Disabled with -d.
+
config CMD_OFTREE
tristate
select OFTREE