diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-08-24 21:03:05 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-10-19 10:09:48 +0200 |
commit | c0f9d1bad238790056d9d7916ef40c84ec3185c1 (patch) | |
tree | d718a890131c99a453bfa44ddad1b11dca02d3bc /commands/Kconfig | |
parent | 9135dd5f672e2805f8ad08a6535fc36b7eb8957c (diff) | |
download | barebox-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/Kconfig | 6 |
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 |