nand: pxa3xx: Increase READ_ID buffer and make the size static
authorEzequiel García <ezequiel@vanguardiasur.com.ar>
Wed, 19 Aug 2015 22:40:09 +0000 (19:40 -0300)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 19 Aug 2015 22:53:48 +0000 (15:53 -0700)
commitb226eca2088004622434cbcc27c6401b64f22d7c
treefd7719a05d3e4a6a3bbc5b734b780bc0ac9de5ec
parent21fc0ef9652f0c809dc0d3e0a67f1e1bf6ff8255
nand: pxa3xx: Increase READ_ID buffer and make the size static

The read ID count should be made as large as the maximum READ_ID size,
so there's no need to have dynamic size. This commit sets the hardware
maximum read ID count, which should be more than enough on all cases.
Also, we get rid of the read_id_bytes, and use a macro instead.

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/pxa3xx_nand.c