mtd: onenand: allocate verify buffer in the core
This patch extends OneNAND core code with support for OneNAND verify write check. This is done by allocating the buffer for verify read directly from the core code. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
committed by
David Woodhouse
parent
6a88c47bd5
commit
4a8ce0b030
@@ -125,6 +125,9 @@ struct onenand_chip {
|
||||
flstate_t state;
|
||||
unsigned char *page_buf;
|
||||
unsigned char *oob_buf;
|
||||
#ifdef CONFIG_MTD_ONENAND_VERIFY_WRITE
|
||||
unsigned char *verify_buf;
|
||||
#endif
|
||||
|
||||
int subpagesize;
|
||||
struct nand_ecclayout *ecclayout;
|
||||
|
Reference in New Issue
Block a user