mtd: nand: mxs_nand_spl: Add nand_spl_adjust_offset
Subsystems (3)
PATCH 1/1 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 <[email protected]>
--- drivers/mtd/nand/raw/mxs_nand_spl.c | 5 +++++ 1 file changed, 5 insertions(+)
drivers/mtd/nand/raw/mxs_nand_spl.c +5 -0
@@ -296,3 +296,8 @@ void nand_deselect(void) { } +u32 nand_spl_adjust_offset (u32 sector,u32 offs) +{ +/* Handle the offset adjust in nand_spl_load_image,*/ +return offs; +}
Signature · 1 line
2.7.4
PATCH 1/1 mtd: nand: mxs_nand_spl: Add nand_spl_adjust_offset
Quoted 5 lines
Since the
mxs_nand_splhas implemented adjust read offset innand_spl_load_image, so we don't need to check the bad block innand_spl_adjust_offset. Directly return the offset to continue read bynand_spl_load_image.Signed-off-by Ye Li <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected] =====================================================================