]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
image-fit: Fix mismatched parameter type in comment
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Wed, 4 Mar 2026 07:51:00 +0000 (16:51 +0900)
committerTom Rini <trini@konsulko.com>
Wed, 18 Mar 2026 17:05:57 +0000 (11:05 -0600)
The functions use 'ulong', however, the comments said 'uint32_t'.
Update the comments to match the prototype.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
boot/image-fit.c

index e7c7212195f4a291e26ed6d3440a1b42274dacab..067ad23608169db7186887ade43fa90a1b287a24 100644 (file)
@@ -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.