Skip to content
Commit 9f6a14c4 authored by Dario Binacchi's avatar Dario Binacchi Committed by Tom Rini
Browse files

spl: fit: nand: fix fit loading in case of bad blocks



The offset at which the image to be loaded from NAND is located is
retrieved from the itb header. The presence of bad blocks in the area
of the NAND where the itb image is located could invalidate the offset
which must therefore be adjusted taking into account the state of the
sectors concerned.

cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: default avatarDario Binacchi <dariobin@libero.it>
Reviewed-by: default avatarMichael Trimarchi <michael@amarulasolutions.com>
parent 585b468a
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