]> git.baikalelectronics.ru Git - kernel.git/commit
[MTD] [NAND] fix subpage read for small page NAND
authorAlexey Korolev <akorolev@infradead.org>
Tue, 29 Jul 2008 12:54:11 +0000 (13:54 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 30 Jul 2008 10:59:24 +0000 (11:59 +0100)
commitf4b1400ea91bdde40acdc03f35f63b16c894fb5a
tree2ab2043e692f1cc03d84380d3e5ea820ec95dc6a
parent6f61d820b1fd4aa77be3e2b18d3cb51b2d196808
[MTD] [NAND] fix subpage read for small page NAND

Current implementation of subpage read feature for NAND has issues with
small page devices. Small page NAND do not support RNDOUT command.
So subpage feature is not applicable for them.

This patch disables support of subpage for small page NAND.
The code is verified on nandsim(SP NAND simulation) and on LP NAND
devices.

Thanks a lot to Artem for finding this issue.

Signed-off-by: Alexey Korolev <akorolev@infradead.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
include/linux/mtd/nand.h