diff options
Diffstat (limited to 'arch/avr32/boards/atstk1000/atstk1002.c')
-rw-r--r-- | arch/avr32/boards/atstk1000/atstk1002.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/arch/avr32/boards/atstk1000/atstk1002.c b/arch/avr32/boards/atstk1000/atstk1002.c index 6ce30fb2ec94..c56ddac85d61 100644 --- a/arch/avr32/boards/atstk1000/atstk1002.c +++ b/arch/avr32/boards/atstk1000/atstk1002.c | |||
@@ -90,18 +90,13 @@ static struct mtd_partition nand_partitions[] = { | |||
90 | }, | 90 | }, |
91 | }; | 91 | }; |
92 | 92 | ||
93 | static struct mtd_partition *nand_part_info(int size, int *num_partitions) | ||
94 | { | ||
95 | *num_partitions = ARRAY_SIZE(nand_partitions); | ||
96 | return nand_partitions; | ||
97 | } | ||
98 | |||
99 | static struct atmel_nand_data atstk1006_nand_data __initdata = { | 93 | static struct atmel_nand_data atstk1006_nand_data __initdata = { |
100 | .cle = 21, | 94 | .cle = 21, |
101 | .ale = 22, | 95 | .ale = 22, |
102 | .rdy_pin = GPIO_PIN_PB(30), | 96 | .rdy_pin = GPIO_PIN_PB(30), |
103 | .enable_pin = GPIO_PIN_PB(29), | 97 | .enable_pin = GPIO_PIN_PB(29), |
104 | .partition_info = nand_part_info, | 98 | .parts = nand_partitions, |
99 | .num_parts = ARRAY_SIZE(num_partitions), | ||
105 | }; | 100 | }; |
106 | #endif | 101 | #endif |
107 | 102 | ||
@@ -110,7 +105,7 @@ struct eth_addr { | |||
110 | }; | 105 | }; |
111 | 106 | ||
112 | static struct eth_addr __initdata hw_addr[2]; | 107 | static struct eth_addr __initdata hw_addr[2]; |
113 | static struct eth_platform_data __initdata eth_data[2] = { | 108 | static struct macb_platform_data __initdata eth_data[2] = { |
114 | { | 109 | { |
115 | /* | 110 | /* |
116 | * The MDIO pullups on STK1000 are a bit too weak for | 111 | * The MDIO pullups on STK1000 are a bit too weak for |