summaryrefslogtreecommitdiffstats
path: root/commands/Kconfig
diff options
context:
space:
mode:
authorMichael Tretter <m.tretter@pengutronix.de>2019-09-13 15:14:45 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-09-16 09:06:18 +0200
commit4d6ff095684d180221fd924e8ba13fcc77c8366a (patch)
treefb73baa650eec4939ce5e289377c2ab3b920a5ce /commands/Kconfig
parent7fdca8aa1fef0d9739ba89cd632ef76da6f86760 (diff)
downloadbarebox-4d6ff095684d180221fd924e8ba13fcc77c8366a.tar.gz
barebox-4d6ff095684d180221fd924e8ba13fcc77c8366a.tar.xz
commands: add of_overlay command for device tree overlays
Add a new command "of_overlay" for applying device tree overlays, because it does not really fit into any other device tree related command and would create a mess with the command options. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r--commands/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index e03110fd46..298e0fb9e9 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -2088,6 +2088,18 @@ config CMD_OF_FIXUP_STATUS
Register a fixup to enable or disable a device tree node.
Nodes are enabled on default. Disabled with -d.
+config CMD_OF_OVERLAY
+ tristate
+ select OF_OVERLAY
+ prompt "of_overlay"
+ help
+ of_overlay - register device tree overlay as fixup
+
+ Usage: of_overlay [-S path] FILE
+
+ Options:
+ -S path load firmware using this search path
+
config CMD_OFTREE
tristate
select OFTREE