kernel: Correctly search for the FIT image in mtd partition.
authorFredrik Olofsson <fredrik.olofsson@anyfinetworks.com>
Wed, 4 Sep 2019 08:41:22 +0000 (10:41 +0200)
committerPetr Štetiar <ynezz@true.cz>
Wed, 9 Oct 2019 19:05:00 +0000 (21:05 +0200)
commit4abf456b4a828b2aa4094f8fd505741541bbacb7
tree837edf3fc37254db94e7ca10f7ce567573aa9cb2
parent830000855eb6ad0991ec943e8ec2fcd7670b0038
kernel: Correctly search for the FIT image in mtd partition.

Previously all iterations of the loop checked offset=0 in the partition.

Signed-off-by: Fredrik Olofsson <fredrik.olofsson@anyfinetworks.com>
(cherry picked from commit dc76900021b880820adf981bb7b1cf5ff3ffe1fd)
target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_fit.c