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>
Thu, 19 Sep 2019 21:43:27 +0000 (23:43 +0200)
commitdc76900021b880820adf981bb7b1cf5ff3ffe1fd
treed3de7575b11079f9b41cc0a289d74281c07a4ce4
parent205e0939f0a141a1524d94eaf84407ddcb6a1a09
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>
target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_fit.c