summaryrefslogtreecommitdiff
path: root/cpu/at91rm9200/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/at91rm9200/cpu.c')
-rw-r--r--cpu/at91rm9200/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/at91rm9200/cpu.c b/cpu/at91rm9200/cpu.c
index a7e2ca9..a464f29 100644
--- a/cpu/at91rm9200/cpu.c
+++ b/cpu/at91rm9200/cpu.c
@@ -121,7 +121,7 @@ int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
reset_cpu(0);
#else
#ifdef CONFIG_DBGU
- AT91PS_USART us = AT91C_BASE_DBGU;
+ AT91PS_USART us = (AT91PS_USART) AT91C_BASE_DBGU;
#endif
#ifdef CONFIG_USART0
AT91PS_USART us = AT91C_BASE_US0;