summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rix <Tom.Rix@windriver.com>2009-04-01 22:02:19 -0500
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-04-05 00:30:38 +0200
commit767f3acd9f6e1dcb8ada926c333945382eddc7e8 (patch)
tree394a52af2f3bff001d933094e6c2a4d6306184e5
parent5891151707ee5902fe62d554c247f42865815757 (diff)
downloadu-boot-imx-767f3acd9f6e1dcb8ada926c333945382eddc7e8.zip
u-boot-imx-767f3acd9f6e1dcb8ada926c333945382eddc7e8.tar.gz
u-boot-imx-767f3acd9f6e1dcb8ada926c333945382eddc7e8.tar.bz2
ZOOM1 Remove legacy NAND defines
Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
-rw-r--r--include/configs/omap3_zoom1.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/configs/omap3_zoom1.h b/include/configs/omap3_zoom1.h
index c60778c..8e984b4 100644
--- a/include/configs/omap3_zoom1.h
+++ b/include/configs/omap3_zoom1.h
@@ -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 */