MLK-25497 nand: mxs_nand_spl: Fix nand_spl_adjust_offset issue
authorYe Li <ye.li@nxp.com>
Sat, 15 May 2021 05:54:28 +0000 (22:54 -0700)
committerYe Li <ye.li@nxp.com>
Tue, 18 May 2021 03:29:19 +0000 (20:29 -0700)
commit4a2450ac6534a7b5b56003f53d52f0e7291f3b05
tree53ddf2681bccef2bc91a91a77bed7995f188c274
parent2b633b897572713666621a2038d902fcba6b9a30
MLK-25497 nand: mxs_nand_spl: Fix nand_spl_adjust_offset issue

Wrong offset was returned in commit e849aaa
(LF-3483-2 nand: mxs_nand_spl: Implement the nand_spl_adjust_offset)
Fix the issue by removing the sector.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
drivers/mtd/nand/raw/mxs_nand_spl.c