diff options
Diffstat (limited to 'arch/arm/mach-at91/include/mach')
-rw-r--r-- | arch/arm/mach-at91/include/mach/board.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/arch/arm/mach-at91/include/mach/board.h b/arch/arm/mach-at91/include/mach/board.h index e209a2992245..d0b377b21bd7 100644 --- a/arch/arm/mach-at91/include/mach/board.h +++ b/arch/arm/mach-at91/include/mach/board.h | |||
@@ -44,10 +44,10 @@ | |||
44 | 44 | ||
45 | /* USB Device */ | 45 | /* USB Device */ |
46 | struct at91_udc_data { | 46 | struct at91_udc_data { |
47 | u8 vbus_pin; /* high == host powering us */ | 47 | int vbus_pin; /* high == host powering us */ |
48 | u8 vbus_active_low; /* vbus polarity */ | 48 | u8 vbus_active_low; /* vbus polarity */ |
49 | u8 vbus_polled; /* Use polling, not interrupt */ | 49 | u8 vbus_polled; /* Use polling, not interrupt */ |
50 | u8 pullup_pin; /* active == D+ pulled up */ | 50 | int pullup_pin; /* active == D+ pulled up */ |
51 | u8 pullup_active_low; /* true == pullup_pin is active low */ | 51 | u8 pullup_active_low; /* true == pullup_pin is active low */ |
52 | }; | 52 | }; |
53 | extern void __init at91_add_device_udc(struct at91_udc_data *data); | 53 | extern void __init at91_add_device_udc(struct at91_udc_data *data); |
@@ -57,10 +57,10 @@ extern void __init at91_add_device_usba(struct usba_platform_data *data); | |||
57 | 57 | ||
58 | /* Compact Flash */ | 58 | /* Compact Flash */ |
59 | struct at91_cf_data { | 59 | struct at91_cf_data { |
60 | u8 irq_pin; /* I/O IRQ */ | 60 | int irq_pin; /* I/O IRQ */ |
61 | u8 det_pin; /* Card detect */ | 61 | int det_pin; /* Card detect */ |
62 | u8 vcc_pin; /* power switching */ | 62 | int vcc_pin; /* power switching */ |
63 | u8 rst_pin; /* card reset */ | 63 | int rst_pin; /* card reset */ |
64 | u8 chipselect; /* EBI Chip Select number */ | 64 | u8 chipselect; /* EBI Chip Select number */ |
65 | u8 flags; | 65 | u8 flags; |
66 | #define AT91_CF_TRUE_IDE 0x01 | 66 | #define AT91_CF_TRUE_IDE 0x01 |
@@ -71,11 +71,11 @@ extern void __init at91_add_device_cf(struct at91_cf_data *data); | |||
71 | /* MMC / SD */ | 71 | /* MMC / SD */ |
72 | /* at91_mci platform config */ | 72 | /* at91_mci platform config */ |
73 | struct at91_mmc_data { | 73 | struct at91_mmc_data { |
74 | u8 det_pin; /* card detect IRQ */ | 74 | int det_pin; /* card detect IRQ */ |
75 | unsigned slot_b:1; /* uses Slot B */ | 75 | unsigned slot_b:1; /* uses Slot B */ |
76 | unsigned wire4:1; /* (SD) supports DAT0..DAT3 */ | 76 | unsigned wire4:1; /* (SD) supports DAT0..DAT3 */ |
77 | u8 wp_pin; /* (SD) writeprotect detect */ | 77 | int wp_pin; /* (SD) writeprotect detect */ |
78 | u8 vcc_pin; /* power switching (high == on) */ | 78 | int vcc_pin; /* power switching (high == on) */ |
79 | }; | 79 | }; |
80 | extern void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data); | 80 | extern void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data); |
81 | 81 | ||
@@ -87,10 +87,10 @@ extern void __init at91_add_device_eth(struct macb_platform_data *data); | |||
87 | /* USB Host */ | 87 | /* USB Host */ |
88 | struct at91_usbh_data { | 88 | struct at91_usbh_data { |
89 | u8 ports; /* number of ports on root hub */ | 89 | u8 ports; /* number of ports on root hub */ |
90 | u8 vbus_pin[2]; /* port power-control pin */ | 90 | int vbus_pin[2]; /* port power-control pin */ |
91 | u8 vbus_pin_inverted; | 91 | u8 vbus_pin_inverted; |
92 | u8 overcurrent_supported; | 92 | u8 overcurrent_supported; |
93 | u8 overcurrent_pin[2]; | 93 | int overcurrent_pin[2]; |
94 | u8 overcurrent_status[2]; | 94 | u8 overcurrent_status[2]; |
95 | u8 overcurrent_changed[2]; | 95 | u8 overcurrent_changed[2]; |
96 | }; | 96 | }; |
@@ -100,9 +100,9 @@ extern void __init at91_add_device_usbh_ehci(struct at91_usbh_data *data); | |||
100 | 100 | ||
101 | /* NAND / SmartMedia */ | 101 | /* NAND / SmartMedia */ |
102 | struct atmel_nand_data { | 102 | struct atmel_nand_data { |
103 | u8 enable_pin; /* chip enable */ | 103 | int enable_pin; /* chip enable */ |
104 | u8 det_pin; /* card detect */ | 104 | int det_pin; /* card detect */ |
105 | u8 rdy_pin; /* ready/busy */ | 105 | int rdy_pin; /* ready/busy */ |
106 | u8 rdy_pin_active_low; /* rdy_pin value is inverted */ | 106 | u8 rdy_pin_active_low; /* rdy_pin value is inverted */ |
107 | u8 ale; /* address line number connected to ALE */ | 107 | u8 ale; /* address line number connected to ALE */ |
108 | u8 cle; /* address line number connected to CLE */ | 108 | u8 cle; /* address line number connected to CLE */ |