aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-avr32
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2007-01-30 11:01:23 +0100
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-02-09 15:01:58 +0100
commite7f70b8cc69b1bcc56ed8d70f8e3671ec3956374 (patch)
tree9985b269a4b5fa46bd605f85fd3cf50609b37d7a /include/asm-avr32
parentdde251033f3e54619317269a908ce40e6f3a8d04 (diff)
downloadkernel_goldelico_gta04-e7f70b8cc69b1bcc56ed8d70f8e3671ec3956374.zip
kernel_goldelico_gta04-e7f70b8cc69b1bcc56ed8d70f8e3671ec3956374.tar.gz
kernel_goldelico_gta04-e7f70b8cc69b1bcc56ed8d70f8e3671ec3956374.tar.bz2
[AVR32] Introduce at32_reserve_pin()
at32_reserve_pin() can be used for reserving portmux pins without altering their configuration. Useful for e.g. SDRAM pins where we really don't want to change the bootloader-provided configuration. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'include/asm-avr32')
-rw-r--r--include/asm-avr32/arch-at32ap/portmux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-avr32/arch-at32ap/portmux.h b/include/asm-avr32/arch-at32ap/portmux.h
index 2ba611e..9930871 100644
--- a/include/asm-avr32/arch-at32ap/portmux.h
+++ b/include/asm-avr32/arch-at32ap/portmux.h
@@ -23,5 +23,6 @@
void at32_select_periph(unsigned int pin, unsigned int periph,
unsigned long flags);
void at32_select_gpio(unsigned int pin, unsigned long flags);
+void at32_reserve_pin(unsigned int pin);
#endif /* __ASM_ARCH_PORTMUX_H__ */