-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Haavard Skinnemoen
committed
Oct 5, 2008
1 parent
8d0827a
commit e53ceeb
Showing
9 changed files
with
138 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 945533b538c6c6185afc77ba4a81eeba8f6ef8dd | ||
refs/heads/master: 6b918657b7431e4c5c953b8222ae2f4fc1b2576a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,29 @@ | ||
#ifndef __ASM_AVR32_ATMEL_MCI_H | ||
#define __ASM_AVR32_ATMEL_MCI_H | ||
|
||
struct mci_platform_data { | ||
/** | ||
* struct mci_slot_pdata - board-specific per-slot configuration | ||
* @bus_width: Number of data lines wired up the slot | ||
* @detect_pin: GPIO pin wired to the card detect switch | ||
* @wp_pin: GPIO pin wired to the write protect sensor | ||
* | ||
* If a given slot is not present on the board, @bus_width should be | ||
* set to 0. The other fields are ignored in this case. | ||
* | ||
* Any pins that aren't available should be set to a negative value. | ||
*/ | ||
struct mci_slot_pdata { | ||
unsigned int bus_width; | ||
int detect_pin; | ||
int wp_pin; | ||
}; | ||
|
||
/** | ||
* struct mci_platform_data - board-specific MMC/SDcard configuration | ||
* @slot: Per-slot configuration data. | ||
*/ | ||
struct mci_platform_data { | ||
struct mci_slot_pdata slot[2]; | ||
}; | ||
|
||
#endif /* __ASM_AVR32_ATMEL_MCI_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters