diff options
Diffstat (limited to 'arch/arm/mach-at91/board-afeb-9260v1.c')
-rw-r--r-- | arch/arm/mach-at91/board-afeb-9260v1.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/arm/mach-at91/board-afeb-9260v1.c b/arch/arm/mach-at91/board-afeb-9260v1.c index 0487ea10c2d6..4282d96dffa8 100644 --- a/arch/arm/mach-at91/board-afeb-9260v1.c +++ b/arch/arm/mach-at91/board-afeb-9260v1.c | |||
@@ -130,19 +130,14 @@ static struct mtd_partition __initdata afeb9260_nand_partition[] = { | |||
130 | }, | 130 | }, |
131 | }; | 131 | }; |
132 | 132 | ||
133 | static struct mtd_partition * __init nand_partitions(int size, int *num_partitions) | ||
134 | { | ||
135 | *num_partitions = ARRAY_SIZE(afeb9260_nand_partition); | ||
136 | return afeb9260_nand_partition; | ||
137 | } | ||
138 | |||
139 | static struct atmel_nand_data __initdata afeb9260_nand_data = { | 133 | static struct atmel_nand_data __initdata afeb9260_nand_data = { |
140 | .ale = 21, | 134 | .ale = 21, |
141 | .cle = 22, | 135 | .cle = 22, |
142 | .rdy_pin = AT91_PIN_PC13, | 136 | .rdy_pin = AT91_PIN_PC13, |
143 | .enable_pin = AT91_PIN_PC14, | 137 | .enable_pin = AT91_PIN_PC14, |
144 | .partition_info = nand_partitions, | ||
145 | .bus_width_16 = 0, | 138 | .bus_width_16 = 0, |
139 | .parts = afeb9260_nand_partition, | ||
140 | .num_parts = ARRAY_SIZE(afeb9260_nand_partition), | ||
146 | }; | 141 | }; |
147 | 142 | ||
148 | 143 | ||