[PATCH v4 03/11] arm: mach-k3: Explicitly identify TIFSSTUB images when discarding buffers
Neha Malcom Francis
n-francis at ti.com
Tue Apr 28 10:46:15 CEST 2026
On Sat, 25 Apr 2026 09:07:34 +0530, Beleswar Padhi <b-padhi at ti.com> wrote:
> The board_fit_image_post_process() function assumes that all TIFSSTUB
> images appear at the end of the image_os_match[] array by using
> the condition:
>
> i < IMAGE_AMT && i > IMAGE_ID_DM_FW
>
> However, this assumption breaks when new image types are appended to the
> enum and the array, causing unintended image types to match this
> condition and having their buffer sizes incorrectly set to 0 with:
>
> [...]
Reviewed-by: Neha Malcom Francis <n-francis at ti.com>
--
Neha Malcom Francis <n-francis at ti.com>
More information about the U-Boot
mailing list