]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm64: zynqmp: Add device tree properties for nand flash
authorAmit Kumar Mahapatra <amit.kumar-mahapatra@xilinx.com>
Mon, 6 Sep 2021 19:08:22 +0000 (13:08 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 7 Sep 2021 09:51:32 +0000 (11:51 +0200)
Add ecc strength & ecc step size properties for nand flash devices,
when operating in software-ecc mode.

Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@xilinx.com>
arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts

index 4225a9547c5873fce6c8451a548910997a8c97a2..f32f87acacb6f6981f0ad4a66b15351def4c7fcd 100644 (file)
                nand-ecc-algo = "bch";
                nand-rb = <0>;
                label = "main-storage-0";
+               nand-ecc-step-size = <1024>;
+               nand-ecc-strength = <24>;
 
                partition@0 {   /* for testing purpose */
                        label = "nand-fsbl-uboot";
                nand-ecc-algo = "bch";
                nand-rb = <0>;
                label = "main-storage-1";
+               nand-ecc-step-size = <1024>;
+               nand-ecc-strength = <24>;
 
                partition@0 {   /* for testing purpose */
                        label = "nand1-fsbl-uboot";