diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-12-29 02:05:50 -0500 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-03-15 11:27:25 -0400 |
commit | 98619dcb77d9dcbed67e39a71e4357fc99dc0f25 (patch) | |
tree | 2eb4ced852e6a3cde03f0733099e70aade5e2834 /arch/arm/mach-at91 | |
parent | 3dcb7ea137c882580d4d421077e9097ef099a3a9 (diff) |
ARM: at91: enable on flash bbt for Atmel Reference and DT boards
Enable it on Calao board too as they are in DT too.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r-- | arch/arm/mach-at91/board-dt.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-at91/board-qil-a9260.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-at91/board-rm9200dk.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-at91/board-sam9260ek.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-at91/board-sam9261ek.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-at91/board-sam9263ek.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-at91/board-sam9g20ek.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-at91/board-sam9m10g45ek.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-at91/board-sam9rlek.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-at91/board-usb-a926x.c | 1 |
10 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/board-dt.c b/arch/arm/mach-at91/board-dt.c index e1505fd575e9..2eb294b2cc0e 100644 --- a/arch/arm/mach-at91/board-dt.c +++ b/arch/arm/mach-at91/board-dt.c | |||
@@ -48,6 +48,7 @@ static struct atmel_nand_data __initdata ek_nand_data = { | |||
48 | .rdy_pin = AT91_PIN_PC8, | 48 | .rdy_pin = AT91_PIN_PC8, |
49 | .enable_pin = AT91_PIN_PC14, | 49 | .enable_pin = AT91_PIN_PC14, |
50 | .ecc_mode = NAND_ECC_SOFT, | 50 | .ecc_mode = NAND_ECC_SOFT, |
51 | .on_flash_bbt = 1, | ||
51 | }; | 52 | }; |
52 | 53 | ||
53 | static struct sam9_smc_config __initdata ek_nand_smc_config = { | 54 | static struct sam9_smc_config __initdata ek_nand_smc_config = { |
diff --git a/arch/arm/mach-at91/board-qil-a9260.c b/arch/arm/mach-at91/board-qil-a9260.c index 97907e4fb348..b6ed5ed7081a 100644 --- a/arch/arm/mach-at91/board-qil-a9260.c +++ b/arch/arm/mach-at91/board-qil-a9260.c | |||
@@ -139,6 +139,7 @@ static struct atmel_nand_data __initdata ek_nand_data = { | |||
139 | .rdy_pin = AT91_PIN_PC13, | 139 | .rdy_pin = AT91_PIN_PC13, |
140 | .enable_pin = AT91_PIN_PC14, | 140 | .enable_pin = AT91_PIN_PC14, |
141 | .ecc_mode = NAND_ECC_SOFT, | 141 | .ecc_mode = NAND_ECC_SOFT, |
142 | .on_flash_bbt = 1, | ||
142 | .parts = ek_nand_partition, | 143 | .parts = ek_nand_partition, |
143 | .num_parts = ARRAY_SIZE(ek_nand_partition), | 144 | .num_parts = ARRAY_SIZE(ek_nand_partition), |
144 | }; | 145 | }; |
diff --git a/arch/arm/mach-at91/board-rm9200dk.c b/arch/arm/mach-at91/board-rm9200dk.c index d0ec16603788..01332aa538b2 100644 --- a/arch/arm/mach-at91/board-rm9200dk.c +++ b/arch/arm/mach-at91/board-rm9200dk.c | |||
@@ -151,6 +151,7 @@ static struct atmel_nand_data __initdata dk_nand_data = { | |||
151 | .rdy_pin = AT91_PIN_PC2, | 151 | .rdy_pin = AT91_PIN_PC2, |
152 | .enable_pin = -EINVAL, | 152 | .enable_pin = -EINVAL, |
153 | .ecc_mode = NAND_ECC_SOFT, | 153 | .ecc_mode = NAND_ECC_SOFT, |
154 | .on_flash_bbt = 1, | ||
154 | .parts = dk_nand_partition, | 155 | .parts = dk_nand_partition, |
155 | .num_parts = ARRAY_SIZE(dk_nand_partition), | 156 | .num_parts = ARRAY_SIZE(dk_nand_partition), |
156 | }; | 157 | }; |
diff --git a/arch/arm/mach-at91/board-sam9260ek.c b/arch/arm/mach-at91/board-sam9260ek.c index 3118ab120951..d5aec55b0eb4 100644 --- a/arch/arm/mach-at91/board-sam9260ek.c +++ b/arch/arm/mach-at91/board-sam9260ek.c | |||
@@ -182,6 +182,7 @@ static struct atmel_nand_data __initdata ek_nand_data = { | |||
182 | .rdy_pin = AT91_PIN_PC13, | 182 | .rdy_pin = AT91_PIN_PC13, |
183 | .enable_pin = AT91_PIN_PC14, | 183 | .enable_pin = AT91_PIN_PC14, |
184 | .ecc_mode = NAND_ECC_SOFT, | 184 | .ecc_mode = NAND_ECC_SOFT, |
185 | .on_flash_bbt = 1, | ||
185 | .parts = ek_nand_partition, | 186 | .parts = ek_nand_partition, |
186 | .num_parts = ARRAY_SIZE(ek_nand_partition), | 187 | .num_parts = ARRAY_SIZE(ek_nand_partition), |
187 | }; | 188 | }; |
diff --git a/arch/arm/mach-at91/board-sam9261ek.c b/arch/arm/mach-at91/board-sam9261ek.c index 60cf37b49973..c3f994462864 100644 --- a/arch/arm/mach-at91/board-sam9261ek.c +++ b/arch/arm/mach-at91/board-sam9261ek.c | |||
@@ -188,6 +188,7 @@ static struct atmel_nand_data __initdata ek_nand_data = { | |||
188 | .rdy_pin = AT91_PIN_PC15, | 188 | .rdy_pin = AT91_PIN_PC15, |
189 | .enable_pin = AT91_PIN_PC14, | 189 | .enable_pin = AT91_PIN_PC14, |
190 | .ecc_mode = NAND_ECC_SOFT, | 190 | .ecc_mode = NAND_ECC_SOFT, |
191 | .on_flash_bbt = 1, | ||
191 | .parts = ek_nand_partition, | 192 | .parts = ek_nand_partition, |
192 | .num_parts = ARRAY_SIZE(ek_nand_partition), | 193 | .num_parts = ARRAY_SIZE(ek_nand_partition), |
193 | }; | 194 | }; |
diff --git a/arch/arm/mach-at91/board-sam9263ek.c b/arch/arm/mach-at91/board-sam9263ek.c index aeabf850cb80..66f0ddf4b2ae 100644 --- a/arch/arm/mach-at91/board-sam9263ek.c +++ b/arch/arm/mach-at91/board-sam9263ek.c | |||
@@ -188,6 +188,7 @@ static struct atmel_nand_data __initdata ek_nand_data = { | |||
188 | .rdy_pin = AT91_PIN_PA22, | 188 | .rdy_pin = AT91_PIN_PA22, |
189 | .enable_pin = AT91_PIN_PD15, | 189 | .enable_pin = AT91_PIN_PD15, |
190 | .ecc_mode = NAND_ECC_SOFT, | 190 | .ecc_mode = NAND_ECC_SOFT, |
191 | .on_flash_bbt = 1, | ||
191 | .parts = ek_nand_partition, | 192 | .parts = ek_nand_partition, |
192 | .num_parts = ARRAY_SIZE(ek_nand_partition), | 193 | .num_parts = ARRAY_SIZE(ek_nand_partition), |
193 | }; | 194 | }; |
diff --git a/arch/arm/mach-at91/board-sam9g20ek.c b/arch/arm/mach-at91/board-sam9g20ek.c index 419e0d5c6d50..8923ec9f5831 100644 --- a/arch/arm/mach-at91/board-sam9g20ek.c +++ b/arch/arm/mach-at91/board-sam9g20ek.c | |||
@@ -167,6 +167,7 @@ static struct atmel_nand_data __initdata ek_nand_data = { | |||
167 | .enable_pin = AT91_PIN_PC14, | 167 | .enable_pin = AT91_PIN_PC14, |
168 | .det_pin = -EINVAL, | 168 | .det_pin = -EINVAL, |
169 | .ecc_mode = NAND_ECC_SOFT, | 169 | .ecc_mode = NAND_ECC_SOFT, |
170 | .on_flash_bbt = 1, | ||
170 | .parts = ek_nand_partition, | 171 | .parts = ek_nand_partition, |
171 | .num_parts = ARRAY_SIZE(ek_nand_partition), | 172 | .num_parts = ARRAY_SIZE(ek_nand_partition), |
172 | }; | 173 | }; |
diff --git a/arch/arm/mach-at91/board-sam9m10g45ek.c b/arch/arm/mach-at91/board-sam9m10g45ek.c index 7b8c647db5f0..e1bea73e6b30 100644 --- a/arch/arm/mach-at91/board-sam9m10g45ek.c +++ b/arch/arm/mach-at91/board-sam9m10g45ek.c | |||
@@ -149,6 +149,7 @@ static struct atmel_nand_data __initdata ek_nand_data = { | |||
149 | .enable_pin = AT91_PIN_PC14, | 149 | .enable_pin = AT91_PIN_PC14, |
150 | .det_pin = -EINVAL, | 150 | .det_pin = -EINVAL, |
151 | .ecc_mode = NAND_ECC_SOFT, | 151 | .ecc_mode = NAND_ECC_SOFT, |
152 | .on_flash_bbt = 1, | ||
152 | .parts = ek_nand_partition, | 153 | .parts = ek_nand_partition, |
153 | .num_parts = ARRAY_SIZE(ek_nand_partition), | 154 | .num_parts = ARRAY_SIZE(ek_nand_partition), |
154 | }; | 155 | }; |
diff --git a/arch/arm/mach-at91/board-sam9rlek.c b/arch/arm/mach-at91/board-sam9rlek.c index 70a026de2b20..b109ce2ba864 100644 --- a/arch/arm/mach-at91/board-sam9rlek.c +++ b/arch/arm/mach-at91/board-sam9rlek.c | |||
@@ -95,6 +95,7 @@ static struct atmel_nand_data __initdata ek_nand_data = { | |||
95 | .rdy_pin = AT91_PIN_PD17, | 95 | .rdy_pin = AT91_PIN_PD17, |
96 | .enable_pin = AT91_PIN_PB6, | 96 | .enable_pin = AT91_PIN_PB6, |
97 | .ecc_mode = NAND_ECC_SOFT, | 97 | .ecc_mode = NAND_ECC_SOFT, |
98 | .on_flash_bbt = 1, | ||
98 | .parts = ek_nand_partition, | 99 | .parts = ek_nand_partition, |
99 | .num_parts = ARRAY_SIZE(ek_nand_partition), | 100 | .num_parts = ARRAY_SIZE(ek_nand_partition), |
100 | }; | 101 | }; |
diff --git a/arch/arm/mach-at91/board-usb-a926x.c b/arch/arm/mach-at91/board-usb-a926x.c index cc93152a4da4..b7483a3d0980 100644 --- a/arch/arm/mach-at91/board-usb-a926x.c +++ b/arch/arm/mach-at91/board-usb-a926x.c | |||
@@ -199,6 +199,7 @@ static struct atmel_nand_data __initdata ek_nand_data = { | |||
199 | .rdy_pin = AT91_PIN_PA22, | 199 | .rdy_pin = AT91_PIN_PA22, |
200 | .enable_pin = AT91_PIN_PD15, | 200 | .enable_pin = AT91_PIN_PD15, |
201 | .ecc_mode = NAND_ECC_SOFT, | 201 | .ecc_mode = NAND_ECC_SOFT, |
202 | .on_flash_bbt = 1, | ||
202 | .parts = ek_nand_partition, | 203 | .parts = ek_nand_partition, |
203 | .num_parts = ARRAY_SIZE(ek_nand_partition), | 204 | .num_parts = ARRAY_SIZE(ek_nand_partition), |
204 | }; | 205 | }; |