]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: nand: mxs_nand_spl: Add nand_spl_adjust_offset
authorYe Li <ye.li@nxp.com>
Tue, 17 Aug 2021 09:24:47 +0000 (17:24 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 7 Oct 2021 14:53:50 +0000 (16:53 +0200)
commitf68c897e2deacbf7870f3ba618d8d46efb44c149
treee0942f9aeb8e9a71f294d107ee0eb2564b4b3871
parentae3f752919fa2eff4fa865e5fb09657452856a84
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>
drivers/mtd/nand/raw/mxs_nand_spl.c