Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43362
b: refs/heads/master
c: c019d49
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Victor authored and Russell King committed Dec 4, 2006
1 parent ba2ea72 commit 4a2fd46
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 69c5eccd164200a17b5a24e594b37958d39d2933
refs/heads/master: c019d49b69237f195b1a31d90facf738a371841f
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-at91rm9200/board-carmeva.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ static struct at91_udc_data __initdata carmeva_udc_data = {
// };

static struct at91_mmc_data __initdata carmeva_mmc_data = {
.is_b = 0,
.slot_b = 0,
.wire4 = 1,
.det_pin = AT91_PIN_PB10,
.wp_pin = AT91_PIN_PC14,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-at91rm9200/board-csb337.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ static struct at91_cf_data __initdata csb337_cf_data = {

static struct at91_mmc_data __initdata csb337_mmc_data = {
.det_pin = AT91_PIN_PD5,
.is_b = 0,
.slot_b = 0,
.wire4 = 1,
.wp_pin = AT91_PIN_PD6,
};
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-at91rm9200/board-dk.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ static struct at91_cf_data __initdata dk_cf_data = {
};

static struct at91_mmc_data __initdata dk_mmc_data = {
.is_b = 0,
.slot_b = 0,
.wire4 = 1,
};

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-at91rm9200/board-eb9200.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ static struct at91_cf_data __initdata eb9200_cf_data = {
};

static struct at91_mmc_data __initdata eb9200_mmc_data = {
.is_b = 0,
.slot_b = 0,
.wire4 = 1,
};

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-at91rm9200/board-ek.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ static struct at91_udc_data __initdata ek_udc_data = {

static struct at91_mmc_data __initdata ek_mmc_data = {
.det_pin = AT91_PIN_PB27,
.is_b = 0,
.slot_b = 0,
.wire4 = 1,
.wp_pin = AT91_PIN_PA17,
};
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-at91rm9200/board-kb9202.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ static struct at91_udc_data __initdata kb9202_udc_data = {

static struct at91_mmc_data __initdata kb9202_mmc_data = {
.det_pin = AT91_PIN_PB2,
.is_b = 0,
.slot_b = 0,
.wire4 = 1,
};

Expand Down
6 changes: 4 additions & 2 deletions trunk/include/asm-arm/arch-at91rm9200/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,14 @@ struct at91_cf_data {
u8 det_pin; /* Card detect */
u8 vcc_pin; /* power switching */
u8 rst_pin; /* card reset */
u8 chipselect; /* EBI Chip Select number */
};
extern void __init at91_add_device_cf(struct at91_cf_data *data);

/* MMC / SD */
struct at91_mmc_data {
u8 det_pin; /* card detect IRQ */
unsigned is_b:1; /* uses B side (vs A) */
unsigned slot_b:1; /* uses Slot B */
unsigned wire4:1; /* (SD) supports DAT0..DAT3 */
u8 wp_pin; /* (SD) writeprotect detect */
u8 vcc_pin; /* power switching (high == on) */
Expand All @@ -81,7 +82,8 @@ struct at91_nand_data {
u8 rdy_pin; /* ready/busy */
u8 ale; /* address line number connected to ALE */
u8 cle; /* address line number connected to CLE */
struct mtd_partition* (*partition_info)(int, int*);
u8 bus_width_16; /* buswidth is 16 bit */
struct mtd_partition* (*partition_info)(int, int*);
};
extern void __init at91_add_device_nand(struct at91_nand_data *data);

Expand Down

0 comments on commit 4a2fd46

Please sign in to comment.