commit | 7396b7dd4202f45871af0df4577ba9932c60037f | [log] [tgz] |
---|---|---|
author | Michael Trimarchi <michael@amarulasolutions.com> | Sun May 15 11:35:33 2022 +0200 |
committer | Stefano Babic <sbabic@denx.de> | Fri May 20 12:36:48 2022 +0200 |
tree | 9af0b8c51d1dd9c9ef29b83c7350272986a34b57 | |
parent | 97cd4d896f275f3e25ec9ed7ca6d16998aa0c431 [diff] |
spl: spl_nand: Fix bad block handling in fitImage If the fitImage has some bad block in fit image area, the offset must be recalulcated. This should be done always. After implementing it in mxs now is possible to call the function even for that platform. Cc: Fabio Estevam <festevam@gmail.com> Tested-By: Tim Harvey <tharvey@gateworks.com> Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>