From: Roman Tereshonkov Date: Mon, 11 Oct 2010 11:47:32 +0000 (+0300) Subject: mtd: onenand: fix 4KiB page onenand chip recognition X-Git-Tag: v2.6.37-rc1~22^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edb44b9b9cbff71f6aa9bebc384ee1896c8bfc2c;p=pandora-kernel.git mtd: onenand: fix 4KiB page onenand chip recognition For 4Gib non-DDP chip it does not follow that it is always 4KiB page chip. The number of data buffers is checked and if it is equal to 1 we suppose that it is 4KiB page onenand chip. Signed-off-by: Roman Tereshonkov Acked-by: Kyungmin Park Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed