summaryrefslogtreecommitdiff
path: root/arch/avr32/include/asm/arch-at32ap700x/portmux.h
diff options
context:
space:
mode:
authorAndreas Bießmann <biessmann@corscience.de>2010-11-04 23:15:31 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-05-18 07:56:50 +0200
commitf4278b716c2925b4dcf18b94f0ff932d4736cd5d (patch)
tree53068e409b65794be28d2fa4deb6ef959b632de0 /arch/avr32/include/asm/arch-at32ap700x/portmux.h
parent5d73bc7af75b004d4eb343572e3ff5bc5727a048 (diff)
downloadu-boot-imx-f4278b716c2925b4dcf18b94f0ff932d4736cd5d.zip
u-boot-imx-f4278b716c2925b4dcf18b94f0ff932d4736cd5d.tar.gz
u-boot-imx-f4278b716c2925b4dcf18b94f0ff932d4736cd5d.tar.bz2
avr32: fixup definitions to ATMEL_BASE_xxx
Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
Diffstat (limited to 'arch/avr32/include/asm/arch-at32ap700x/portmux.h')
-rw-r--r--arch/avr32/include/asm/arch-at32ap700x/portmux.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/avr32/include/asm/arch-at32ap700x/portmux.h b/arch/avr32/include/asm/arch-at32ap700x/portmux.h
index 1ba52e5..859c121 100644
--- a/arch/avr32/include/asm/arch-at32ap700x/portmux.h
+++ b/arch/avr32/include/asm/arch-at32ap700x/portmux.h
@@ -24,11 +24,11 @@
#include <asm/arch/gpio.h>
-#define PORTMUX_PORT_A ((void *)PIOA_BASE)
-#define PORTMUX_PORT_B ((void *)PIOB_BASE)
-#define PORTMUX_PORT_C ((void *)PIOC_BASE)
-#define PORTMUX_PORT_D ((void *)PIOD_BASE)
-#define PORTMUX_PORT_E ((void *)PIOE_BASE)
+#define PORTMUX_PORT_A ((void *)ATMEL_BASE_PIOA)
+#define PORTMUX_PORT_B ((void *)ATMEL_BASE_PIOB)
+#define PORTMUX_PORT_C ((void *)ATMEL_BASE_PIOC)
+#define PORTMUX_PORT_D ((void *)ATMEL_BASE_PIOD)
+#define PORTMUX_PORT_E ((void *)ATMEL_BASE_PIOE)
void portmux_enable_ebi(unsigned int bus_width, unsigned int addr_width,
unsigned long flags, unsigned long drive_strength);