diff options
author | Vladimir Zapolskiy <vz@mleia.com> | 2015-07-18 01:47:08 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-08-12 20:47:33 -0400 |
commit | 8d1809a966996fdbcddb441c0ff8080d78a89c59 (patch) | |
tree | cdf62b4038987648e80ad6622c7c6961550039ff /test/env | |
parent | 2dd46328fdc50284311908dfb1ca3d5ec1ddcb6e (diff) | |
download | u-boot-imx-8d1809a966996fdbcddb441c0ff8080d78a89c59.zip u-boot-imx-8d1809a966996fdbcddb441c0ff8080d78a89c59.tar.gz u-boot-imx-8d1809a966996fdbcddb441c0ff8080d78a89c59.tar.bz2 |
spl: nand: simple: replace readb() with chip specific read_buf()
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>
Acked-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'test/env')
0 files changed, 0 insertions, 0 deletions