[PATCH] mtd: nand: mxs_nand_spl: Remove the page aligned access
sbabic at denx.de
sbabic at denx.de
Tue Apr 12 20:47:22 CEST 2022
> 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 at nxp.com>
> Tested-by: Tim Harvey <tharvey at gateworks.com> #gw_ventana
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
--
=====================================================================
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: sbabic at denx.de
=====================================================================
More information about the U-Boot
mailing list