mtd: add a helper to get the supported features for ONFI nand
authorHuang Shijie <shijie8@gmail.com>
Fri, 17 May 2013 03:17:28 +0000 (11:17 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 30 Aug 2013 20:34:41 +0000 (21:34 +0100)
commit5b40db68cb1bd14b3d5b159754c9c1bc3bdeb080
tree315d52c82d8c4997e6e5354960101648be966b66
parent5138a98f6f47ce62a86cce4b9c381aaf4ad3a643
mtd: add a helper to get the supported features for ONFI nand

add a helper to get the supported features for ONFI nand.
Also add the neccessary macros.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Reviewed-and-tested-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
include/linux/mtd/nand.h