> 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 <[email protected]> > Tested-by: Tim Harvey <[email protected]> #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: [email protected] =====================================================================

