mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-16 23:07:00 +00:00
mtd: nand: mxs_nand_spl: Add nand_spl_adjust_offset
Since the mxs_nand_spl has implemented adjust read offset in nand_spl_load_image, so we don't need to check the bad block in nand_spl_adjust_offset. Directly return the offset to continue read by nand_spl_load_image. Signed-off-by: Ye Li <ye.li@nxp.com>
This commit is contained in:
parent
ae3f752919
commit
f68c897e2d
1 changed files with 6 additions and 0 deletions
|
@ -296,3 +296,9 @@ int nand_default_bbt(struct mtd_info *mtd)
|
|||
void nand_deselect(void)
|
||||
{
|
||||
}
|
||||
|
||||
u32 nand_spl_adjust_offset(u32 sector, u32 offs)
|
||||
{
|
||||
/* Handle the offset adjust in nand_spl_load_image,*/
|
||||
return offs;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue