From: Marc Kleine-Budde <mkl@pengutronix.de>
To: barebox@lists.infradead.org
Cc: sha@pengutronix.de
Subject: [PATCH V2 2/3] at91sam9g45_devices: don't hardcode nand ecc mode
Date: Tue, 22 Feb 2011 12:32:45 +0100 [thread overview]
Message-ID: <1298374366-6956-3-git-send-email-mkl@pengutronix.de> (raw)
In-Reply-To: <1298374366-6956-1-git-send-email-mkl@pengutronix.de>
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@pengutronix.de>
Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@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
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2011-02-22 11:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-22 11:32 [PATCH V2 0/3] at91 fixes Marc Kleine-Budde
2011-02-22 11:32 ` [PATCH V2 1/3] at91sam9g45_devices: fix compilation if NAND driver is enabled Marc Kleine-Budde
2011-02-22 11:32 ` Marc Kleine-Budde [this message]
2011-02-22 12:02 ` [PATCH V2 2/3] at91sam9g45_devices: don't hardcode nand ecc mode Jean-Christophe PLAGNIOL-VILLARD
2011-02-22 11:32 ` [PATCH V2 3/3] atmel_nand: add support for flash based bad block table Marc Kleine-Budde
2011-02-22 12:03 ` Jean-Christophe PLAGNIOL-VILLARD
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1298374366-6956-3-git-send-email-mkl@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=sha@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox