* [PATCH] ARM: atmel: sama5d4: nand: add has_pmecc parameter
@ 2015-01-28 10:08 Bo Shen
2015-01-29 6:56 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Bo Shen @ 2015-01-28 10:08 UTC (permalink / raw)
To: s.hauer; +Cc: barebox
Add the missing has_pmecc parameter for sama5d4 based boards.
Signed-off-by: Bo Shen <voice.shen@atmel.com>
---
arch/arm/boards/sama5d4_xplained/sama5d4_xplained.c | 1 +
arch/arm/boards/sama5d4ek/sama5d4ek.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/arch/arm/boards/sama5d4_xplained/sama5d4_xplained.c b/arch/arm/boards/sama5d4_xplained/sama5d4_xplained.c
index 9547c93..aa2ed8a 100644
--- a/arch/arm/boards/sama5d4_xplained/sama5d4_xplained.c
+++ b/arch/arm/boards/sama5d4_xplained/sama5d4_xplained.c
@@ -40,6 +40,7 @@ static struct atmel_nand_data nand_pdata = {
.rdy_pin = -EINVAL,
.enable_pin = -EINVAL,
.ecc_mode = NAND_ECC_HW,
+ .has_pmecc = 1,
.pmecc_sector_size = 512,
.pmecc_corr_cap = 8,
.on_flash_bbt = 1,
diff --git a/arch/arm/boards/sama5d4ek/sama5d4ek.c b/arch/arm/boards/sama5d4ek/sama5d4ek.c
index bbc53c6..db346d1 100644
--- a/arch/arm/boards/sama5d4ek/sama5d4ek.c
+++ b/arch/arm/boards/sama5d4ek/sama5d4ek.c
@@ -40,6 +40,7 @@ static struct atmel_nand_data nand_pdata = {
.rdy_pin = -EINVAL,
.enable_pin = -EINVAL,
.ecc_mode = NAND_ECC_HW,
+ .has_pmecc = 1,
.pmecc_sector_size = 512,
.pmecc_corr_cap = 8,
.on_flash_bbt = 1,
--
2.3.0.rc0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-01-29 6:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-28 10:08 [PATCH] ARM: atmel: sama5d4: nand: add has_pmecc parameter Bo Shen
2015-01-29 6:56 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox