NAND: ifdef-protect most of nand.h when using legacy NAND.
authorScott Wood <scottwood@freescale.com>
Wed, 9 Jul 2008 22:47:52 +0000 (17:47 -0500)
committerScott Wood <scottwood@freescale.com>
Wed, 9 Jul 2008 22:47:52 +0000 (17:47 -0500)
commit9d2e3947b2944e5bb85b4335533f8c93c58445fe
tree7752d1fc2acebc03dc949bd65b49812fb2457c58
parent99c2b434d37863df5dda5207a53760c6506fc2be
NAND: ifdef-protect most of nand.h when using legacy NAND.

Some macros such as NAND_CTL_SETALE conflict between current and legacy
NAND, being defined by the subsystem in the former case and the board
config file in the latter.

Signed-off-by: Scott Wood <scottwood@freescale.com>
include/nand.h