[PATCH V2 2/3] at91sam9g45_devices: don't hardcode nand ecc mode
Marc Kleine-Budde
mkl at pengutronix.de
Tue Feb 22 06:32:45 EST 2011
Hardware ECC is currently not working on the at91sam9g45. So give the user a
change to specify software ecc mode.
Signed-off-by: Marc Kleine-Budde <mkl at pengutronix.de>
Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
Changes since V1:
- better commit message
arch/arm/mach-at91/at91sam9g45_devices.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-at91/at91sam9g45_devices.c b/arch/arm/mach-at91/at91sam9g45_devices.c
index 306d1e4..9e2c572 100644
--- a/arch/arm/mach-at91/at91sam9g45_devices.c
+++ b/arch/arm/mach-at91/at91sam9g45_devices.c
@@ -99,7 +99,6 @@ void at91_add_device_nand(struct atmel_nand_data *data)
return;
data->ecc_base = (void __iomem *)(AT91_BASE_SYS + AT91_ECC);
- data->ecc_mode = NAND_ECC_HW;
csa = at91_sys_read(AT91_MATRIX_EBICSA);
at91_sys_write(AT91_MATRIX_EBICSA, csa | AT91_MATRIX_EBI_CS3A_SMC_SMARTMEDIA);
--
1.7.2.3
More information about the barebox
mailing list