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)
committerRISCi_ATOM <bob@bobcall.me>
Thu, 10 Oct 2019 15:54:30 +0000 (11:54 -0400)
commitf3e4bd0577709b16c66f6e272556058e310bec60
tree5b2062cbdd73be8dbfa179aa68b950005edfd3ca
parentbf60b8b93874297d31720c3114a463db1cc1d9ed
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