[PATCH 02/11] spl: fit: nand: allow for non-page-aligned elements
sbabic at denx.de
sbabic at denx.de
Thu Apr 8 22:58:28 CEST 2021
> Add a weak nand_get_mtd function for nand drivers to provide mtd info
> and use this to set pagesize such that reading of non page-aligned
> elements can succeed.
> The spl_load_simple_fit already handles block block access so all we
> need to do is provide the nand writesize as the block length.
> Further cleanup of the drivers which use nand_spl_loaders.c such as
> am335x_spl_bch.c, atmel_nand.c, and nand_spl_simple.c could be done
> using info from mtd_info instead of statically defined details.
> Signed-off-by: Tim Harvey <tharvey at gateworks.com>
> Reviewed-by: Tom Rini <trini at konsulko.com>
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