summaryrefslogtreecommitdiff
path: root/include/spl.h
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-09-13 22:29:30 +0300
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-11-26 02:39:06 +0300
commit75014470aec60580978962071972f2962695938d (patch)
treeda946e3f28f68a3efb5babe59f691702065f86f5 /include/spl.h
parent4914af1286c4a48cd0ae98cf6adea3569111413b (diff)
downloadu-boot-75014470aec60580978962071972f2962695938d.tar.xz
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> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/spl.h')
-rw-r--r--include/spl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/spl.h b/include/spl.h
index b14a29c57c..1ac97188a3 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;