summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNeil Armstrong <[email protected]>2024-10-17 16:44:42 +0200
committerMattijs Korpershoek <[email protected]>2024-10-24 09:48:14 +0200
commit8f8e646d790199f023f82b8100b6e160d510206d (patch)
treeff019fa858158aa3fa2a7a1ec83d57ff6abc0fc8 /include
parent55c876c6f9b787488c7a9f9c678398c48d13db6f (diff)
image: android: use ulong for kernel address
When booting with platforms having > 4GiB of memory, the kernel physical address can be more than 32bits. Use ulong like all the other addresses, and fix the print to show the > 32bits address numbers. Signed-off-by: Neil Armstrong <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> Tested-by: Guillaume La Roque <[email protected]> Link: https://lore.kernel.org/r/20241017-topic-fastboot-fixes-mkbootimg-v2-1-c3927102d931@linaro.org Signed-off-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/android_image.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/android_image.h b/include/android_image.h
index d503c980b23..96820709b42 100644
--- a/include/android_image.h
+++ b/include/android_image.h
@@ -348,7 +348,7 @@ struct andr_image_data {
ulong bootconfig_addr; /* bootconfig image address */
ulong bootconfig_size; /* bootconfig image size */
- u32 kernel_addr; /* physical load addr */
+ ulong kernel_addr; /* physical load addr */
ulong ramdisk_addr; /* physical load addr */
ulong ramdisk_ptr; /* ramdisk address */
ulong dtb_load_addr; /* physical load address for DTB image */