Skip to content
Snippets Groups Projects
Commit 6f28216a authored by Yann Gautier's avatar Yann Gautier Committed by Sebastien Pasdeloup
Browse files

mtd: nand: add a function to count bad blocks before a given offset


In case of FIP, the offsets given in the FIP header are relative. If bad
blocks are found between the FIP base address and this offset, the offset
should be updated taking care of the bad blocks.

Change-Id: I96fefabb583b3d030ab05191bae7d45cfeefe341
Signed-off-by: default avatarYann Gautier <yann.gautier@st.com>
Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/175511


Reviewed-by: default avatarCITOOLS <smet-aci-reviews@lists.codex.cro.st.com>
Reviewed-by: default avatarLionel DEBIEVE <lionel.debieve@st.com>
parent 2ee8abb0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment