Message ID | 1505330989-25602-3-git-send-email-philipp.tomsich@theobroma-systems.com |
---|---|
State | Accepted |
Commit | 75014470aec60580978962071972f2962695938d |
Delegated to: | Philipp Tomsich |
Headers | show |
Series | [U-Boot,01/15] image: add IH_OS_ARM_TRUSTED_FIRMWARE for ARM Trusted Firmware | expand |
On 13 September 2017 at 13:29, Philipp Tomsich <philipp.tomsich@theobroma-systems.com> wrote: > 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> > --- > > include/spl.h | 3 +++ > 1 file changed, 3 insertions(+) Reviewed-by: Simon Glass <sjg@chromium.org> Could perhaps drop the #ifdef since it is only small?
> 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> > --- > > include/spl.h | 3 +++ > 1 file changed, 3 insertions(+) > Applied to u-boot-rockchip, thanks!
diff --git a/include/spl.h b/include/spl.h index ce4cf0a..acbc47a 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;
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> --- include/spl.h | 3 +++ 1 file changed, 3 insertions(+)