]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Update device tree properties for nand flash
authorAmit Kumar Mahapatra <amit.kumar-mahapatra@xilinx.com>
Thu, 18 Feb 2021 07:50:21 +0000 (00:50 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 30 Mar 2021 10:03:24 +0000 (12:03 +0200)
Update the following device tree properties for nand flash

- Set software ecc mode.
- Set bch as ecc algo.
- Set read block to 0.

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

index 92d938d665d20ad6ccd9b7bdf5c0eda7887f0e4f..3204456e64519d7d6b93d1b1b41db75f8d287669 100644 (file)
                reg = <0x0>;
                #address-cells = <0x2>;
                #size-cells = <0x1>;
+               nand-ecc-mode = "soft";
+               nand-ecc-algo = "bch";
+               nand-rb = <0>;
+               label = "main-storage-0";
 
                partition@0 {   /* for testing purpose */
                        label = "nand-fsbl-uboot";
                reg = <0x1>;
                #address-cells = <0x2>;
                #size-cells = <0x1>;
+               nand-ecc-mode = "soft";
+               nand-ecc-algo = "bch";
+               nand-rb = <0>;
+               label = "main-storage-1";
 
                partition@0 {   /* for testing purpose */
                        label = "nand1-fsbl-uboot";