Skip to content
Snippets Groups Projects
Commit 8d1809a9 authored by Vladimir Zapolskiy's avatar Vladimir Zapolskiy Committed by Tom Rini
Browse files

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: default avatarVladimir Zapolskiy <vz@mleia.com>
Cc: Tom Rini <trini@konsulko.com>
Cc: Tom Warren <twarren@nvidia.com>
Acked-by: default avatarScott Wood <scottwood@freescale.com>
parent 2dd46328
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment