aboutsummaryrefslogtreecommitdiff
path: root/arch/avr32/mach-at32ap/include/mach/at32ap700x.h
diff options
context:
space:
mode:
authorGravatar Alex Raimondi <raimondi@miromico.ch> 2008-11-04 23:37:10 +0100
committerGravatar Haavard Skinnemoen <haavard.skinnemoen@atmel.com> 2009-01-05 12:16:13 +0100
commitadde42b5834ed367ef7455d465bd9610190ad2a0 (patch)
tree77300eed45fbe2f67f458bbd3b1ab022b7f82894 /arch/avr32/mach-at32ap/include/mach/at32ap700x.h
parentfavr-32: Remove deprecated call (diff)
downloadlinux-adde42b5834ed367ef7455d465bd9610190ad2a0.tar.gz
linux-adde42b5834ed367ef7455d465bd9610190ad2a0.tar.bz2
linux-adde42b5834ed367ef7455d465bd9610190ad2a0.zip
avr32: Allow reserving multiple pins at once
at32_reserve_pin now takes an u32 bitmask rather than a single pin. This allows to reserve multiple pins at once. Remove (undocumented) SDCS (pin PE26) from reservation in board setup code. Signed-off-by: Alex Raimondi <raimondi@miromico.ch> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/mach-at32ap/include/mach/at32ap700x.h')
-rw-r--r--arch/avr32/mach-at32ap/include/mach/at32ap700x.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/avr32/mach-at32ap/include/mach/at32ap700x.h b/arch/avr32/mach-at32ap/include/mach/at32ap700x.h
index a77d372f6f3e..5c4c971eed8e 100644
--- a/arch/avr32/mach-at32ap/include/mach/at32ap700x.h
+++ b/arch/avr32/mach-at32ap/include/mach/at32ap700x.h
@@ -211,4 +211,7 @@
#define ATMEL_LCDC_ALT_15BIT (ATMEL_LCDC_CONTROL | ATMEL_LCDC_ALT_15B_DATA)
+/* Bitmask for all EBI data (D16..D31) pins on port E */
+#define ATMEL_EBI_PE_DATA_ALL (0x0000FFFF)
+
#endif /* __ASM_ARCH_AT32AP700X_H__ */