mtd: OneNAND: fix incorrect bufferram offset
commit00acf4a80779611a7ea77ff5b5ffab886ed5cc42
authorMika Korhonen <mika.j.korhonen@gmail.com>
Thu, 11 Jun 2009 11:05:07 +0000 (11 14:05 +0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 3 Aug 2009 13:21:58 +0000 (3 14:21 +0100)
tree7099de136d416782100168d2fd439f5a517f00aa
parent8022c13c27b822cf22f13df10b42aae89cd56bf0
mtd: OneNAND: fix incorrect bufferram offset

Fixes the case where CONFIG_MTD_ONENAND_2X_PROGRAM is set and
the real page size differs from mtd_info.writesize.

Signed-off-by: Mika Korhonen <mika.j.korhonen@gmail.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/onenand/omap2.c