diff options
author | Ye Li <ye.li@nxp.com> | 2022-03-28 12:14:07 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-04-12 18:33:55 +0300 |
commit | 34793598c83b58b990103f7a6bc906372fe81fa2 (patch) | |
tree | 420af57847127f1c34eaef768538f041ecc0e492 /include | |
parent | f399a8d38f0040fb1c1e2d8af01871206a6b647a (diff) | |
download | u-boot-34793598c83b58b990103f7a6bc906372fe81fa2.tar.xz |
mtd: nand: mxs_nand_spl: Remove the page aligned access
The mxs_nand_spl driver can support to read from page unaligned offset,
so don't need to set bl_len to ask spl_load_simple_fit to handle
the page unaligned access.
Actually spl_load_simple_fit has two parts of reading:
spl_simple_fit_read and spl_load_fit_image.
The spl_load_fit_image can handle the page unaligned offset,
but the spl_simple_fit_read can't do it. spl_simple_fit_read requires
the FIT location at page aligned offset.
Hence, remove the nand_get_mtd overwrite function from mxs_nand_spl
to use page unaligned read by driver.
Signed-off-by: Ye Li <ye.li@nxp.com>
Tested-by: Tim Harvey <tharvey@gateworks.com> #gw_ventana
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions