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

2015-07-27 Thread Scott Wood
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 > ca

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

2015-07-17 Thread Vladimir Zapolskiy
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 beco