spl: fdt: Record load/entry fit-images entries in 64bit format
authorMichal Simek <michal.simek@xilinx.com>
Thu, 3 Sep 2020 10:44:51 +0000 (12:44 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 27 Oct 2020 07:13:32 +0000 (08:13 +0100)
commit13d1ca8742ab714d4238f7b1598931bb6aaa1ea4
treeb7b2af12b71288dbe12282e4db98056b66319d58
parentcaa7fc2c57750f323d53aef38c7ee2e01898c4ba
spl: fdt: Record load/entry fit-images entries in 64bit format

The commit 9f45aeb93727 ("spl: fit: implement fdt_record_loadable") which
introduced fdt_record_loadable() state there spl_fit.c is not 64bit safe.
Based on my tests on Xilinx ZynqMP zcu102 platform there shouldn't be a
problem to record these addresses in 64bit format.
The patch adds support for systems which need to load images above 4GB.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/fdt_support.c
common/image-fit.c