]> git.baikalelectronics.ru Git - kernel.git/commit
nand: pxa3xx: Increase initial buffer size
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>
Mon, 3 Aug 2015 14:31:26 +0000 (11:31 -0300)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 14 Aug 2015 18:22:54 +0000 (11:22 -0700)
commitccfa08c8a63756f5b4eb64e766f1a3702bb03838
treeaecde9472ccf773755880325d884cbf595e85271
parent2cbea057c6e3ec5745c240f53f002062100030ee
nand: pxa3xx: Increase initial buffer size

The initial buffer is used for the initial commands used to detect
a flash device (STATUS, READID and PARAM).

ONFI param page is 256 bytes, and there are three redundant copies
to be read. JEDEC param page is 512 bytes, and there are also three
redundant copies to be read. Hence this buffer should be at least
512 x 3. This commits rounds the buffer size to 2048.

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/pxa3xx_nand.c