mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
SPL: make struct spl_image 64-bit safe
Since entry_point and load_addr are addresses, they should be represented as longs to cover the whole address space and to avoid warning when compiling the SPL in 64-bit. Also adjust debug prints to add the 'l' specifier, where needed. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Alexander Graf <agraf@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
This commit is contained in:
committed by
Jagan Teki
parent
2a6713b09b
commit
11e1479b9e
@@ -23,8 +23,8 @@
|
||||
struct spl_image_info {
|
||||
const char *name;
|
||||
u8 os;
|
||||
u32 load_addr;
|
||||
u32 entry_point;
|
||||
ulong load_addr;
|
||||
ulong entry_point;
|
||||
u32 size;
|
||||
u32 flags;
|
||||
};
|
||||
|
Reference in New Issue
Block a user