summaryrefslogtreecommitdiff
path: root/include/configs/pm9261.h
diff options
context:
space:
mode:
authorAndreas Bießmann <andreas.devel@googlemail.com>2013-11-29 12:13:45 +0100
committerAndreas Bießmann <andreas.devel@googlemail.com>2013-12-09 13:21:45 +0100
commitac45bb1646e866b463405fade65bac4d877d4209 (patch)
tree0d990e984cf01e48a1e95cfc7f6cf3eaf6a661a2 /include/configs/pm9261.h
parent934e3b5240ab655782b0844989db928265e6f5df (diff)
downloadu-boot-imx-ac45bb1646e866b463405fade65bac4d877d4209.zip
u-boot-imx-ac45bb1646e866b463405fade65bac4d877d4209.tar.gz
u-boot-imx-ac45bb1646e866b463405fade65bac4d877d4209.tar.bz2
at91: nand: switch atmel_nand to generic GPIO API
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com> Acked-by: Jens Scharsig (BuS Elektronik)<esw@bus-elektronik.de> Tested-by: Jens Scharsig (BuS Elektronik)<esw@bus-elektronik.de> Acked-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'include/configs/pm9261.h')
-rw-r--r--include/configs/pm9261.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/pm9261.h b/include/configs/pm9261.h
index acf6d61..f977e25 100644
--- a/include/configs/pm9261.h
+++ b/include/configs/pm9261.h
@@ -219,8 +219,8 @@
#define CONFIG_SYS_NAND_MASK_ALE (1 << 22)
/* our CLE is AD21 */
#define CONFIG_SYS_NAND_MASK_CLE (1 << 21)
-#define CONFIG_SYS_NAND_ENABLE_PIN AT91_PIO_PORTC, 14
-#define CONFIG_SYS_NAND_READY_PIN AT91_PIO_PORTA, 16
+#define CONFIG_SYS_NAND_ENABLE_PIN GPIO_PIN_PC(14)
+#define CONFIG_SYS_NAND_READY_PIN GPIO_PIN_PA(16)
/* NOR flash */
#define CONFIG_SYS_FLASH_CFI 1