From: Huang Shijie Date: Wed, 25 Dec 2013 09:18:55 +0000 (+0800) Subject: mtd: nand: add support for Samsung K9LCG08U0B X-Git-Tag: v3.14-rc1~65^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94d04e824fc879f66d1a8f7c9689b85159e3f24e;p=pandora-kernel.git mtd: nand: add support for Samsung K9LCG08U0B Assume that: tmp = ((extid >> 2) & 0x04) | (extid & 0x03)); From the K9LCG08U0B's datasheet, we know that: the oob size is 640 when tmp is 6; the oob size is 1024 when tmp is 7; Signed-off-by: Huang Shijie [Brian: fixed compile issue] Signed-off-by: Brian Norris --- Reading git-diff-tree failed