diff options
author | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2017-08-30 15:24:57 +0200 |
---|---|---|
committer | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2017-11-01 23:20:51 +0100 |
commit | d493f8db7d4eda24009c0f71af79d1e3336f7c23 (patch) | |
tree | d7770db7c495c268124503c770c124c3d87534d0 | |
parent | 664a472c4f366cdc140cb5d038d5f71dcb1566a0 (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.h | 3 |
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; |