Patch by Jian Zhang, 20 May 2004:
add support for environment in NAND flash
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c
index a3898dd..aaf6de9 100644
--- a/common/cmd_nvedit.c
+++ b/common/cmd_nvedit.c
@@ -53,6 +53,7 @@
     !defined(CFG_ENV_IS_IN_EEPROM)	&& \
     !defined(CFG_ENV_IS_IN_FLASH)	&& \
     !defined(CFG_ENV_IS_IN_DATAFLASH)	&& \
+    !defined(CFG_ENV_IS_IN_NAND)	&& \
     !defined(CFG_ENV_IS_NOWHERE)
 # error Define one of CFG_ENV_IS_IN_{NVRAM|EEPROM|FLASH|DATAFLASH|NOWHERE}
 #endif