From: Scott Wood Date: Mon, 27 Jul 2015 20:22:35 -0500 Subject: [U-Boot] [PATCH v2 1/4] spl: nand: simple: replace readb() with chip specific read_buf() In-Reply-To: <1437173231-28528-1-git-send-email-vz@mleia.com> References: <1437173180-28466-1-git-send-email-vz@mleia.com> <1437173231-28528-1-git-send-email-vz@mleia.com> Message-ID: <1438046555.2993.316.camel@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Cc: Tom Rini > Cc: Tom Warren > --- > 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 -Scott