[U-Boot] [PATCH v2 1/4] spl: nand: simple: replace readb() with chip specific read_buf()

Scott Wood scottwood at freescale.com
Tue Jul 28 03:22:35 CEST 2015


On Sat, 2015-07-18 at 01:47 +0300, Vladimir Zapolskiy wrote:
> Some NAND controllers define custom functions to read data out,
> respect this in order to correctly support bad block handling in
> simple SPL NAND framework.
> 
> NAND controller specific read_buf() is used even to read 1 byte in
> case of connected 8-bit NAND device, it turns out that read_byte()
> may become outdated.
> 
> Signed-off-by: Vladimir Zapolskiy <vz at mleia.com>
> Cc: Tom Rini <trini at konsulko.com>
> Cc: Tom Warren <twarren at nvidia.com>
> ---
> Changes from v1 to v2:
> * no changes, added Tom and Tom to Cc list for review and/or regression
>   testing on Tegra, TI OMAP and TI DaVinci platforms
> 
> Previous discussion can be found here:
>   http://lists.denx.de/pipermail/u-boot/2015-July/219250.html
> 
>  drivers/mtd/nand/nand_spl_simple.c | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)

Acked-by: Scott Wood <scottwood at freescale.com>

-Scott



More information about the U-Boot mailing list