LF-3483-2 nand: mxs_nand_spl: Implement the nand_spl_adjust_offset
authorYe Li <ye.li@nxp.com>
Wed, 10 Mar 2021 09:15:15 +0000 (01:15 -0800)
committerYe Li <ye.li@nxp.com>
Wed, 28 Apr 2021 20:38:10 +0000 (13:38 -0700)
commite849aaa4a8bb2d513c3aa60ff119eba68c35356d
tree189917032f4d2b07cff7d31d9daf0dba4f4be7aa
parent96b3e4da1bc02fe527571ac8df7b47131f9c85d7
LF-3483-2 nand: mxs_nand_spl: Implement the 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>
drivers/mtd/nand/raw/mxs_nand_spl.c