aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-avr32
diff options
context:
space:
mode:
authorKristoffer Nyborg Gregertsen <kngregertsen@norway.atmel.com>2007-08-16 07:45:00 -0400
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-10-23 05:19:05 -0400
commit48021bd93ca339fcafe9b043d05f5d3a58be7c0a (patch)
tree25a4f0a3880a62b948295ad73c5f81ec8cacddf4 /include/asm-avr32
parent55b70a0300b873c0ec7ea6e33752af56f41250ce (diff)
[AVR32] Platform code for pata_at32
This patch adds platform code for PATA devices on the AP7000. [hskinnemoen@atmel.com: board code left out for now since stk1000 doesn't support IDE out of the box] Signed-off-by: Kristoffer Nyborg Gregertsen <kngregertsen@norway.atmel.com> Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'include/asm-avr32')
-rw-r--r--include/asm-avr32/arch-at32ap/board.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-avr32/arch-at32ap/board.h b/include/asm-avr32/arch-at32ap/board.h
index 7dbd603c38cc..c18160f29cbd 100644
--- a/include/asm-avr32/arch-at32ap/board.h
+++ b/include/asm-avr32/arch-at32ap/board.h
@@ -44,6 +44,13 @@ struct usba_platform_data {
44struct platform_device * 44struct platform_device *
45at32_add_device_usba(unsigned int id, struct usba_platform_data *data); 45at32_add_device_usba(unsigned int id, struct usba_platform_data *data);
46 46
47struct ide_platform_data {
48 u8 cs;
49};
50struct platform_device *
51at32_add_device_ide(unsigned int id, unsigned int extint,
52 struct ide_platform_data *data);
53
47/* depending on what's hooked up, not all SSC pins will be used */ 54/* depending on what's hooked up, not all SSC pins will be used */
48#define ATMEL_SSC_TK 0x01 55#define ATMEL_SSC_TK 0x01
49#define ATMEL_SSC_TF 0x02 56#define ATMEL_SSC_TF 0x02