OSDN Git Service

mtd: add helpers to get the supportted ONFI timing mode
authorHuang Shijie <b32955@freescale.com>
Thu, 13 Sep 2012 06:57:53 +0000 (14:57 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 29 Sep 2012 14:54:36 +0000 (15:54 +0100)
commit3e70192c41ac607c63c31ea00be62dd9afb85575
treeff2aa44bf95277598c1add5b0586ecc274ab8811
parent7db03eccfc23783a95dd78383b3fad55224aaa7b
mtd: add helpers to get the supportted ONFI timing mode

add onfi_get_async_timing_mode() to get the supportted asynchronous
timing mode.

add onfi_get_sync_timing_mode() to get the supportted synchronous
timing mode.

Also add the neccessary macros : the timing modes.

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>
include/linux/mtd/nand.h