Skip to content
Commit 39cb8504 authored by Tim Harvey's avatar Tim Harvey Committed by Stefano Babic
Browse files

spl: fit: nand: skip bad block handling if NAND chip not fully defined



commit 9f6a14c4 ("spl: fit: nand: fix fit loading in case of bad blocks")
added support for adjusting the image offset to account for bad blocks.
However this requires nand_spl_adjust_offset() which requires fully defined
specifics of the NAND chip being used may not be avialable.

Allow skipping this support for drivers or configs which don't specify
the NAND chip details statically with defines.

Signed-off-by: default avatarTim Harvey <tharvey@gateworks.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent 09d86eab
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