Ezequiel Garcia 62e8b85178 mtd: nand: pxa3xx: Allocate data buffer on detected flash size
This commit replaces the currently hardcoded buffer size, by a
dynamic detection scheme. First a small 256 bytes buffer is allocated
so the device can be detected (using READID and friends commands).

After detection, this buffer is released and a new buffer is allocated
to acommodate the page size plus out-of-band size.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Tested-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2013-11-06 23:32:54 -08:00
..
2013-08-30 21:34:33 +01:00
2013-08-30 21:34:33 +01:00
2013-11-06 23:32:52 -08:00
2013-08-30 21:34:33 +01:00
2013-08-30 21:51:57 +01:00
2013-08-30 21:51:57 +01:00
2013-08-30 21:34:33 +01:00
2013-08-30 21:34:33 +01:00
2013-08-30 21:34:33 +01:00
2013-08-30 21:51:45 +01:00
2013-08-30 21:34:33 +01:00
2013-08-30 21:34:33 +01:00
2013-08-30 21:34:33 +01:00
2013-08-30 21:34:33 +01:00