]> Pileus Git - ~andy/linux/commit
mtd: nand: pxa3xx: Allow to set/clear the 'spare enable' field
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Mon, 12 Aug 2013 17:14:49 +0000 (14:14 -0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 30 Aug 2013 20:34:52 +0000 (21:34 +0100)
commit5bb653e890ca7a5b4ba9042cb60d02f7ddef8c21
treee6188756ec5c1856ce848beba9ca02f7a63a8c59
parentcd9d11820f4232856d6254a29fbb9c4f51a981c2
mtd: nand: pxa3xx: Allow to set/clear the 'spare enable' field

Some commands (such as the ONFI parameter page read) need to
clear the 'spare enable' bit. This commit allows to set/clear
depending on the prepared command, instead of having it always
set.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Tested-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/pxa3xx_nand.c