summaryrefslogtreecommitdiffstats
path: root/include/boot.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-03-03 14:04:57 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-03-06 11:41:29 +0100
commit6d6edfcf53be19efa040b3a6fcb7583ce1fca573 (patch)
tree0a3fc1ea02aec09c2459c5787f0731db06e8d6d9 /include/boot.h
parent0ba9a2347a747ae307e072030fc47fd684971249 (diff)
downloadbarebox-6d6edfcf53be19efa040b3a6fcb7583ce1fca573.tar.gz
barebox-6d6edfcf53be19efa040b3a6fcb7583ce1fca573.tar.xz
bootm: Pass unflattened devicetree to handlers
This makes it possible to modify the tree in the handlers. This is necessary because the initrd addresses are only known inside the handlers, but not to the generic bootm code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/boot.h')
-rw-r--r--include/boot.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/boot.h b/include/boot.h
index 3ce0de125b..971a40390a 100644
--- a/include/boot.h
+++ b/include/boot.h
@@ -41,6 +41,7 @@ struct image_data {
unsigned long initrd_address;
+ struct device_node *of_root_node;
struct fdt_header *oftree;
int verify;