diff options
author | Andrew Victor <andrew@sanpeople.com> | 2006-12-04 03:09:08 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-12-04 09:37:34 -0500 |
commit | c019d49b69237f195b1a31d90facf738a371841f (patch) | |
tree | e9c88aa3d3e031bd7b63e1144d97c810b8280155 /include | |
parent | 69c5eccd164200a17b5a24e594b37958d39d2933 (diff) |
[ARM] 3972/1: AT91: Update board.h
Replace the 'is_b' variable with 'slot_b' in at91_mmc_data.
Also add the new 'chipselect' variable for CF/PCMCIA and 'bus_width_16'
variable for NAND.
This (and previous patches) will unfortunately break the current MMC,
USB Gadget and PCMCIA drivers. Updates and fixes for those drivers will
be submitted to the various subsystem maintainers.
Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/arch-at91rm9200/board.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-arm/arch-at91rm9200/board.h b/include/asm-arm/arch-at91rm9200/board.h index 3cc9aec80f9d..768e0fc6aa2f 100644 --- a/include/asm-arm/arch-at91rm9200/board.h +++ b/include/asm-arm/arch-at91rm9200/board.h | |||
@@ -48,13 +48,14 @@ struct at91_cf_data { | |||
48 | u8 det_pin; /* Card detect */ | 48 | u8 det_pin; /* Card detect */ |
49 | u8 vcc_pin; /* power switching */ | 49 | u8 vcc_pin; /* power switching */ |
50 | u8 rst_pin; /* card reset */ | 50 | u8 rst_pin; /* card reset */ |
51 | u8 chipselect; /* EBI Chip Select number */ | ||
51 | }; | 52 | }; |
52 | extern void __init at91_add_device_cf(struct at91_cf_data *data); | 53 | extern void __init at91_add_device_cf(struct at91_cf_data *data); |
53 | 54 | ||
54 | /* MMC / SD */ | 55 | /* MMC / SD */ |
55 | struct at91_mmc_data { | 56 | struct at91_mmc_data { |
56 | u8 det_pin; /* card detect IRQ */ | 57 | u8 det_pin; /* card detect IRQ */ |
57 | unsigned is_b:1; /* uses B side (vs A) */ | 58 | unsigned slot_b:1; /* uses Slot B */ |
58 | unsigned wire4:1; /* (SD) supports DAT0..DAT3 */ | 59 | unsigned wire4:1; /* (SD) supports DAT0..DAT3 */ |
59 | u8 wp_pin; /* (SD) writeprotect detect */ | 60 | u8 wp_pin; /* (SD) writeprotect detect */ |
60 | u8 vcc_pin; /* power switching (high == on) */ | 61 | u8 vcc_pin; /* power switching (high == on) */ |
@@ -81,7 +82,8 @@ struct at91_nand_data { | |||
81 | u8 rdy_pin; /* ready/busy */ | 82 | u8 rdy_pin; /* ready/busy */ |
82 | u8 ale; /* address line number connected to ALE */ | 83 | u8 ale; /* address line number connected to ALE */ |
83 | u8 cle; /* address line number connected to CLE */ | 84 | u8 cle; /* address line number connected to CLE */ |
84 | struct mtd_partition* (*partition_info)(int, int*); | 85 | u8 bus_width_16; /* buswidth is 16 bit */ |
86 | struct mtd_partition* (*partition_info)(int, int*); | ||
85 | }; | 87 | }; |
86 | extern void __init at91_add_device_nand(struct at91_nand_data *data); | 88 | extern void __init at91_add_device_nand(struct at91_nand_data *data); |
87 | 89 | ||