diff options
author | Andreas Bießmann <biessmann@corscience.de> | 2010-11-04 23:15:31 (GMT) |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-05-18 05:56:50 (GMT) |
commit | f4278b716c2925b4dcf18b94f0ff932d4736cd5d (patch) | |
tree | 53068e409b65794be28d2fa4deb6ef959b632de0 /arch/avr32/include/asm/arch-at32ap700x/gpio.h | |
parent | 5d73bc7af75b004d4eb343572e3ff5bc5727a048 (diff) | |
download | u-boot-f4278b716c2925b4dcf18b94f0ff932d4736cd5d.tar.xz |
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/gpio.h')
-rw-r--r-- | arch/avr32/include/asm/arch-at32ap700x/gpio.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/avr32/include/asm/arch-at32ap700x/gpio.h b/arch/avr32/include/asm/arch-at32ap700x/gpio.h index b0254f2..4322eac 100644 --- a/arch/avr32/include/asm/arch-at32ap700x/gpio.h +++ b/arch/avr32/include/asm/arch-at32ap700x/gpio.h @@ -45,15 +45,15 @@ static inline void *pio_pin_to_port(unsigned int pin) { switch (pin >> 5) { case 0: - return (void *)PIOA_BASE; + return (void *)ATMEL_BASE_PIOA; case 1: - return (void *)PIOB_BASE; + return (void *)ATMEL_BASE_PIOB; case 2: - return (void *)PIOC_BASE; + return (void *)ATMEL_BASE_PIOC; case 3: - return (void *)PIOD_BASE; + return (void *)ATMEL_BASE_PIOD; case 4: - return (void *)PIOE_BASE; + return (void *)ATMEL_BASE_PIOE; default: return NULL; } |