OSDN Git Service

mtd: add helpers to set/get features for ONFI nand
authorHuang Shijie <b32955@freescale.com>
Thu, 13 Sep 2012 06:57:52 +0000 (14:57 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 29 Sep 2012 14:54:19 +0000 (15:54 +0100)
commit7db03eccfc23783a95dd78383b3fad55224aaa7b
tree5d9c827c7e61ad862c270ced408f0c3b2529bc27
parent2caf87a49eb53fac266b1271ebd6c1d1daa0d0d0
mtd: add helpers to set/get features for ONFI nand

Add the set-features(0xef)/get-features(0xee) helpers for ONFI nand.
Also add the necessary macros.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nand_base.c
include/linux/mtd/nand.h