summaryrefslogtreecommitdiffstats
path: root/commands/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-08-24 21:03:05 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2011-10-19 10:09:48 +0200
commitc0f9d1bad238790056d9d7916ef40c84ec3185c1 (patch)
treed718a890131c99a453bfa44ddad1b11dca02d3bc /commands/Kconfig
parent9135dd5f672e2805f8ad08a6535fc36b7eb8957c (diff)
downloadbarebox-c0f9d1bad238790056d9d7916ef40c84ec3185c1.tar.gz
barebox-c0f9d1bad238790056d9d7916ef40c84ec3185c1.tar.xz
initial oftree command support
This adds basic device tree command support. So far we can parse a flat device tree (-p), which also stores the tree in memory, dump it (-d) and free (-f) the internally stored tree. The chosen node can be updated with barebox bootargs, no other device tree manipulation is implemented yet. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r--commands/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index 22e2c2e514..18ab840916 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -343,6 +343,12 @@ config CMD_GO
tristate
prompt "go"
+config CMD_OFTREE
+ tristate
+ select OFTREE
+ prompt "oftree"
+ select FDT
+
endmenu
config CMD_TIMEOUT