summaryrefslogtreecommitdiff
path: root/boot/image-fdt.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-09-07 05:26:58 +0300
committerTom Rini <trini@konsulko.com>2022-09-29 23:07:58 +0300
commitb215b6034c4e75d8eb0a958574b7ec3d7754b180 (patch)
tree25aba91a321a35bdaa0f5f3b27296d044d1ab837 /boot/image-fdt.c
parent829d51246fda25655b64224f2a19976797cf1897 (diff)
downloadu-boot-b215b6034c4e75d8eb0a958574b7ec3d7754b180.tar.xz
event: Pass the images to EVT_FT_FIXUP
Pass the boot images along as well, in case the fixups need to look at them. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot/image-fdt.c')
-rw-r--r--boot/image-fdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/image-fdt.c b/boot/image-fdt.c
index ca51796322..884e089f2d 100644
--- a/boot/image-fdt.c
+++ b/boot/image-fdt.c
@@ -669,6 +669,7 @@ int image_setup_libfdt(struct bootm_headers *images, void *blob,
struct event_ft_fixup fixup;
fixup.tree = oftree_default();
+ fixup.images = images;
ret = event_notify(EVT_FT_FIXUP, &fixup, sizeof(fixup));
if (ret) {
printf("ERROR: fdt fixup event failed: %d\n", ret);