summaryrefslogtreecommitdiff
path: root/include/spl.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2019-05-07 21:17:02 +0200
committerTom Rini <trini@konsulko.com>2019-05-18 12:32:00 -0400
commita9a8271e26164e7fb7a8d1696a0511e9f65254c7 (patch)
tree079800e9e06dd0f30b85c9bb508b1dbd00ca669b /include/spl.h
parent47f30aaa36ee3f8f499f5f57a73f66476eb993ec (diff)
spl: Set spl_image->fdt_addr pointer for full fitImage configuration
Set the spl_image->fdt_addr pointer both for simple fitImage configuration as well as full fitImage configuration, to let spl_perform_fixups() access the DT and perform modifications to it if necessary. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/spl.h')
-rw-r--r--include/spl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/spl.h b/include/spl.h
index f09909e189..a9aaef345f 100644
--- a/include/spl.h
+++ b/include/spl.h
@@ -67,7 +67,7 @@ struct spl_image_info {
u8 os;
uintptr_t load_addr;
uintptr_t entry_point;
-#if CONFIG_IS_ENABLED(LOAD_FIT)
+#if CONFIG_IS_ENABLED(LOAD_FIT) || CONFIG_IS_ENABLED(LOAD_FIT_FULL)
void *fdt_addr;
#endif
u32 boot_device;