summaryrefslogtreecommitdiffstats
path: root/lib
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 /lib
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 'lib')
-rw-r--r--lib/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index c7dc16169d..531398f7c1 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -15,3 +15,6 @@ source lib/lzo/Kconfig
config FDT
bool
+config OFTREE
+ select FDT
+ bool