
28 Jul
2015
28 Jul
'15
3:22 a.m.
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@mleia.com Cc: Tom Rini trini@konsulko.com Cc: Tom Warren twarren@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@freescale.com
-Scott