ZOOM1 Remove legacy NAND defines
authorTom Rix <Tom.Rix@windriver.com>
Thu, 2 Apr 2009 03:02:19 +0000 (22:02 -0500)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sat, 4 Apr 2009 22:30:38 +0000 (00:30 +0200)
Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
include/configs/omap3_zoom1.h

index c60778c0f0ddb95c958f3e4a706c1e147aae6a5e..8e984b41610790c8605eab23e37825f5b5730b78 100644 (file)
@@ -303,21 +303,4 @@ extern unsigned int boot_flash_sec;
 extern unsigned int boot_flash_type;
 #endif
 
-
-#define WRITE_NAND_COMMAND(d, adr)\
-                       writel(d, &nand_cs_base->nand_cmd)
-#define WRITE_NAND_ADDRESS(d, adr)\
-                       writel(d, &nand_cs_base->nand_adr)
-#define WRITE_NAND(d, adr) writew(d, &nand_cs_base->nand_dat)
-#define READ_NAND(adr) readl(&nand_cs_base->nand_dat)
-
-/* Other NAND Access APIs */
-#define NAND_WP_OFF() do {readl(&gpmc_cfg_base->config) |= GPMC_CONFIG_WP; } \
-                       while (0)
-#define NAND_WP_ON() do {readl(&gpmc_cfg_base->config) &= ~GPMC_CONFIG_WP; } \
-                       while (0)
-#define NAND_DISABLE_CE(nand)
-#define NAND_ENABLE_CE(nand)
-#define NAND_WAIT_READY(nand)  udelay(10)
-
 #endif                         /* __CONFIG_H */