]> git.ipfire.org Git - thirdparty/u-boot.git/commit
boot/fit: print error name in boot_get_fdt_fit()
authorDavid Lechner <dlechner@baylibre.com>
Thu, 29 Jan 2026 20:03:41 +0000 (14:03 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 30 Jan 2026 18:38:03 +0000 (12:38 -0600)
commit8bca63d2ed9d73ec2ff83fa76510245e48e29730
treee9ab16b688bf40dc21116e384f92d6a34f4d1fc3
parenteed514b11d04a2f8a949521ad3bffba3ec98bd2f
boot/fit: print error name in boot_get_fdt_fit()

Print the actual error code in a couple of places in boot_get_fdt_fit().

These are FDT error codes, not errno, so printing the string is more
helpful than printing the numeric value.

The only caller of boot_get_fdt_fit() unconditionally replaces the
returned error code (fdt_noffset) with ENOENT so the actual error would
otherwise be lost.

Signed-off-by: David Lechner <dlechner@baylibre.com>
boot/image-fit.c