diff options
author | Josh Wu <josh.wu@atmel.com> | 2013-01-23 13:47:09 +0100 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2013-02-07 16:45:05 +0100 |
commit | 5314bc2de94c85847f9c0f2be586bac54e6a19f4 (patch) | |
tree | f383eb5afcf0f35e7dedccb319e071f70afb6567 /arch/arm/boot/dts/at91sam9x5cm.dtsi | |
parent | Linux 3.8-rc6 (diff) | |
download | linux-5314bc2de94c85847f9c0f2be586bac54e6a19f4.tar.xz linux-5314bc2de94c85847f9c0f2be586bac54e6a19f4.zip |
ARM: at91: at91sam9x5: add DT parameters to enable PMECC
Default ecc correctable setting is 2bits in 512 bytes.
Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/boot/dts/at91sam9x5cm.dtsi')
-rw-r--r-- | arch/arm/boot/dts/at91sam9x5cm.dtsi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/at91sam9x5cm.dtsi b/arch/arm/boot/dts/at91sam9x5cm.dtsi index 31e7be23703d..4027ac7e4502 100644 --- a/arch/arm/boot/dts/at91sam9x5cm.dtsi +++ b/arch/arm/boot/dts/at91sam9x5cm.dtsi @@ -26,7 +26,10 @@ ahb { nand0: nand@40000000 { nand-bus-width = <8>; - nand-ecc-mode = "soft"; + nand-ecc-mode = "hw"; + atmel,has-pmecc; /* Enable PMECC */ + atmel,pmecc-cap = <2>; + atmel,pmecc-sector-size = <512>; nand-on-flash-bbt; status = "okay"; |