summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorKunihiko Hayashi <[email protected]>2026-03-04 16:51:00 +0900
committerTom Rini <[email protected]>2026-03-18 11:05:57 -0600
commiteeca6ed86ff65cb8213d0d960a0733c7d8ddde5d (patch)
treed11047589bfc9230fa158e0f578d92da2b08240a /boot
parenteefb822fb574e28d49fc9f358328854e17fc8406 (diff)
image-fit: Fix mismatched parameter type in comment
The functions use 'ulong', however, the comments said 'uint32_t'. Update the comments to match the prototype. Signed-off-by: Kunihiko Hayashi <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
Diffstat (limited to 'boot')
-rw-r--r--boot/image-fit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/boot/image-fit.c b/boot/image-fit.c
index e7c7212195f..067ad236081 100644
--- a/boot/image-fit.c
+++ b/boot/image-fit.c
@@ -881,7 +881,7 @@ static int fit_image_get_address(const void *fit, int noffset, char *name,
* fit_image_get_load() - get load addr property for given component image node
* @fit: pointer to the FIT format image header
* @noffset: component image node offset
- * @load: pointer to the uint32_t, will hold load address
+ * @load: pointer to the ulong, will hold load address
*
* fit_image_get_load() finds load address property in a given component
* image node. If the property is found, its value is returned to the caller.
@@ -899,7 +899,7 @@ int fit_image_get_load(const void *fit, int noffset, ulong *load)
* fit_image_get_entry() - get entry point address property
* @fit: pointer to the FIT format image header
* @noffset: component image node offset
- * @entry: pointer to the uint32_t, will hold entry point address
+ * @entry: pointer to the ulong, will hold entry point address
*
* This gets the entry point address property for a given component image
* node.