Skip to content
Commit 6d99f866 authored by Nishanth Menon's avatar Nishanth Menon Committed by Tom Rini
Browse files

spl: fit: Skip attempting to load 0 length image



When, for various reasons, a bad FIT image is used where a loadable
image is marked as 0 length, attempt is made for a 0 length allocation and
read of 0 byte read operation.

Instead provide warning in log and skip attempting to do such a load.

Signed-off-by: default avatarNishanth Menon <nm@ti.com>
Reviewed-by: default avatarAswath Govindraju <a-govindraju@ti.com>
parent af13df70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment