]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
boot/fit: fix misleading comment
authorJulien Stephan <jstephan@baylibre.com>
Thu, 9 Apr 2026 13:15:43 +0000 (15:15 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 21 Apr 2026 21:56:43 +0000 (15:56 -0600)
When load address is specified but set to 0, we ignore it and load in
place instead. The current comment is misleading, so update it.

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
boot/image-fit.c

index 067ad23608169db7186887ade43fa90a1b287a24..2d2709aa5b16fdc9a474243e000bbefe5e38d0f4 100644 (file)
@@ -2282,7 +2282,7 @@ int fit_image_load(struct bootm_headers *images, ulong addr,
                printf("   Loading %s from 0x%08lx to 0x%08lx\n",
                       prop_name, data, load);
        } else {
-               load = data;    /* No load address specified */
+               load = data;    /* load address specified but set to 0 */
        }
 
        comp = IH_COMP_NONE;