onenand_spl_simple: Add DDP OneNAND support
authorLadislav Michl <ladis@linux-mips.org>
Tue, 20 Jun 2017 09:44:29 +0000 (11:44 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 23 Jun 2017 14:38:07 +0000 (10:38 -0400)
commitb51ced8e2aec9cc4f5a600b09d09f1b54be19d04
tree3ca19d062a35f74b744d521543e3a56e6ad0161e
parent0da008ef8d0441d582619c279212e65f9f0bd2fa
onenand_spl_simple: Add DDP OneNAND support

Current implementation is unable to access second half of
DDP OneNAND flash (reads first half mirrored). Use block
and bufferram address calculations from onenand_base to
fix this.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
drivers/mtd/onenand/onenand_spl.c