summaryrefslogtreecommitdiff
path: root/board/atmel/at91sam9rlek/at91sam9rlek.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-11-09 00:09:51 +0100
committerWolfgang Denk <wd@denx.de>2008-11-09 00:09:51 +0100
commit23b7b87a37e8732a0229d52e69f5e7e617834f80 (patch)
tree0887ae5d2b385b8cf65a91c8c3d47ef43c1a17e2 /board/atmel/at91sam9rlek/at91sam9rlek.c
parentc06d9bbbeb0416f189e841ffb214ada6194ed874 (diff)
parentd8003fa03733901b73d6c4667b4d80fc8eb1ddd3 (diff)
downloadu-boot-imx-23b7b87a37e8732a0229d52e69f5e7e617834f80.zip
u-boot-imx-23b7b87a37e8732a0229d52e69f5e7e617834f80.tar.gz
u-boot-imx-23b7b87a37e8732a0229d52e69f5e7e617834f80.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-at91
Diffstat (limited to 'board/atmel/at91sam9rlek/at91sam9rlek.c')
-rw-r--r--board/atmel/at91sam9rlek/at91sam9rlek.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/atmel/at91sam9rlek/at91sam9rlek.c b/board/atmel/at91sam9rlek/at91sam9rlek.c
index 37e371f..992dd4c 100644
--- a/board/atmel/at91sam9rlek/at91sam9rlek.c
+++ b/board/atmel/at91sam9rlek/at91sam9rlek.c
@@ -48,19 +48,19 @@ static void at91sam9rlek_serial_hw_init(void)
#ifdef CONFIG_USART0
at91_set_A_periph(AT91_PIN_PA6, 1); /* TXD0 */
at91_set_A_periph(AT91_PIN_PA7, 0); /* RXD0 */
- at91_sys_write(AT91_PMC_PCER, 1 << AT91_ID_US0);
+ at91_sys_write(AT91_PMC_PCER, 1 << AT91SAM9RL_ID_US0);
#endif
#ifdef CONFIG_USART1
at91_set_A_periph(AT91_PIN_PA11, 1); /* TXD1 */
at91_set_A_periph(AT91_PIN_PA12, 0); /* RXD1 */
- at91_sys_write(AT91_PMC_PCER, 1 << AT91_ID_US1);
+ at91_sys_write(AT91_PMC_PCER, 1 << AT91SAM9RL_ID_US1);
#endif
#ifdef CONFIG_USART2
at91_set_A_periph(AT91_PIN_PA13, 1); /* TXD2 */
at91_set_A_periph(AT91_PIN_PA14, 0); /* RXD2 */
- at91_sys_write(AT91_PMC_PCER, 1 << AT91_ID_US2);
+ at91_sys_write(AT91_PMC_PCER, 1 << AT91SAM9RL_ID_US2);
#endif
#ifdef CONFIG_USART3 /* DBGU */