summaryrefslogtreecommitdiff
path: root/board/atmel/at91sam9rlek/at91sam9rlek.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-03-22 10:22:34 +0100
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-03-22 13:22:24 +0100
commit74c076d6c33d6d42ab065541a38383587879e7b7 (patch)
treeb44a890cf87711cb3325e4615f281deb758af133 /board/atmel/at91sam9rlek/at91sam9rlek.c
parent163966087d62680547f188a93c61d01c8155254e (diff)
downloadu-boot-imx-74c076d6c33d6d42ab065541a38383587879e7b7.zip
u-boot-imx-74c076d6c33d6d42ab065541a38383587879e7b7.tar.gz
u-boot-imx-74c076d6c33d6d42ab065541a38383587879e7b7.tar.bz2
at91sam9/at91cap: move nand drivers to drivers/mtd/nand
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'board/atmel/at91sam9rlek/at91sam9rlek.c')
-rw-r--r--board/atmel/at91sam9rlek/at91sam9rlek.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/atmel/at91sam9rlek/at91sam9rlek.c b/board/atmel/at91sam9rlek/at91sam9rlek.c
index ce10cdf..908b9c8 100644
--- a/board/atmel/at91sam9rlek/at91sam9rlek.c
+++ b/board/atmel/at91sam9rlek/at91sam9rlek.c
@@ -76,10 +76,10 @@ static void at91sam9rlek_nand_hw_init(void)
at91_sys_write(AT91_PMC_PCER, 1 << AT91SAM9RL_ID_PIOD);
/* Configure RDY/BSY */
- at91_set_gpio_input(AT91_PIN_PD17, 1);
+ at91_set_gpio_input(CONFIG_SYS_NAND_READY_PIN, 1);
/* Enable NandFlash */
- at91_set_gpio_output(AT91_PIN_PB6, 1);
+ at91_set_gpio_output(CONFIG_SYS_NAND_ENABLE_PIN, 1);
at91_set_A_periph(AT91_PIN_PB4, 0); /* NANDOE */
at91_set_A_periph(AT91_PIN_PB5, 0); /* NANDWE */