boot: Correct handling of addresses in boot_relocate_fdt()
authorSimon Glass <sjg@chromium.org>
Tue, 11 Oct 2022 15:47:10 +0000 (09:47 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 18 Oct 2022 03:17:12 +0000 (21:17 -0600)
commit19511935df44f0fec01c6538176f1b6ea4dd63d3
treef6996979b473aa79269e86a4fe2b6f38daa066a4
parent2c0b61d562d3d5db46cc72cd4ae66fb13b3185cf
boot: Correct handling of addresses in boot_relocate_fdt()

This code uses casts between addresses and pointers, so does not work with
sandbox. Update it so we can allow sandbox to do device tree fixups.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/image-fdt.c