summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-08-30 15:24:57 +0200
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-10-02 11:20:53 +0200
commitedfefec9b2074de9c243b317fa1181f260c0b70b (patch)
treeed640220ab5e8c78b3305241c04082ab15be671a
parent8089227ac5e2ac729359717b194f013b22dbc03a (diff)
spl: add a fdt_addr field to spl_image_info
When loading a full U-Boot with detached device-tree using the SPL FIT backend, we should store the address of the FDT loaded as part of the SPL image info: this allows us to fixup the FDT with additional info we may want to propagate onward. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-rw-r--r--include/spl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/spl.h b/include/spl.h
index ce4cf0abbe..acbc47afe4 100644
--- a/include/spl.h
+++ b/include/spl.h
@@ -25,6 +25,9 @@ struct spl_image_info {
u8 os;
ulong load_addr;
ulong entry_point;
+#if CONFIG_IS_ENABLED(LOAD_FIT)
+ void *fdt_addr;
+#endif
u32 size;
u32 flags;
void *arg;