mtd: nandsim: add support for 4KiB pages
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Sun, 29 Nov 2009 18:07:57 +0000 (19:07 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 1 Dec 2009 14:51:45 +0000 (14:51 +0000)
commit75352662c54421b48ed58200565395b123952748
treeb6abb1254b59fd91084be72e5bc817052cbd99c9
parent96178769652ba886d4dfe770e770456689cbb559
mtd: nandsim: add support for 4KiB pages

I was going to play with a faulty nand image from real flash and noticed
that nandsim does not work with:
first_id_byte=0xec second_id_byte=0xd5 third_id_byte=0x51 fourth_id_byte=0xa6

This patch seems to fix it.

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nandsim.c