From: Philipp Tomsich Date: Wed, 13 Sep 2017 19:29:30 +0000 (+0200) Subject: spl: add a fdt_addr field to spl_image_info X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=75014470aec60580978962071972f2962695938d;p=u-boot.git 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 Reviewed-by: Simon Glass --- 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;