summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/am43x-epos-evm.dts
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2014-09-02 16:57:02 +0300
committerTony Lindgren <tony@atomide.com>2014-09-04 12:38:22 -0700
commitdb01e6c7fbe3b87b389f537b52a5d862cea498e1 (patch)
treef3a74ee44b4980ca64137581fa267c81a7bdc3d6 /arch/arm/boot/dts/am43x-epos-evm.dts
parent4b143f0f60143a8238262874c1ee22b43fbdc61e (diff)
downloadop-kernel-dev-db01e6c7fbe3b87b389f537b52a5d862cea498e1.zip
op-kernel-dev-db01e6c7fbe3b87b389f537b52a5d862cea498e1.tar.gz
ARM: dts: am43x-epos-evm: Use BCH16 ECC scheme instead of BCH8
am43x-epos-evm uses a NAND chip with page size 4096 bytes and spare area of 225 bytes per page. For such a setup it is preferrable to use BCH16 ECC scheme over BCH8. This also makes it compatible with ROM code ECC scheme so we can boot with NAND after flashing from kernel. Signed-off-by: Roger Quadros <rogerq@ti.com> Reviewed-by: Pekon Gupta <pekon@pek-sem.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am43x-epos-evm.dts')
-rw-r--r--arch/arm/boot/dts/am43x-epos-evm.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts
index ed7dd239..f6c9898 100644
--- a/arch/arm/boot/dts/am43x-epos-evm.dts
+++ b/arch/arm/boot/dts/am43x-epos-evm.dts
@@ -441,7 +441,7 @@
ranges = <0 0 0x08000000 0x10000000>; /* CS0: NAND */
nand@0,0 {
reg = <0 0 0>; /* CS0, offset 0 */
- ti,nand-ecc-opt = "bch8";
+ ti,nand-ecc-opt = "bch16";
ti,elm-id = <&elm>;
nand-bus-width = <8>;
gpmc,device-width = <1>;
OpenPOWER on IntegriCloud