OSDN Git Service

mtd: nand: increase max OOB size to 640
authorBrian Norris <computersforpeace@gmail.com>
Tue, 25 Sep 2012 03:40:53 +0000 (20:40 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 29 Sep 2012 14:58:09 +0000 (15:58 +0100)
commitb9e48534d8f4eb17d531f54d2cb3b9138db13ccb
tree1ab346aa4a93400931ccea27448731a4a03cbaa6
parente3b88bd604283ef83ae6e8f53622d5b1ffe9d43a
mtd: nand: increase max OOB size to 640

Some Hynix and Samsung MLC NAND have 640B OOB size. Sooner or later, we should
dynamically allocate the buffers that use these macros.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
include/linux/mtd/nand.h