arm64: zynqmp: Update device tree properties for nand flash

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>
This commit is contained in:
Amit Kumar Mahapatra 2021-02-18 00:50:21 -07:00 committed by Michal Simek
parent cde1aaeae2
commit fbf043d7e6

View file

@ -124,6 +124,10 @@
reg = <0x0>; reg = <0x0>;
#address-cells = <0x2>; #address-cells = <0x2>;
#size-cells = <0x1>; #size-cells = <0x1>;
nand-ecc-mode = "soft";
nand-ecc-algo = "bch";
nand-rb = <0>;
label = "main-storage-0";
partition@0 { /* for testing purpose */ partition@0 { /* for testing purpose */
label = "nand-fsbl-uboot"; label = "nand-fsbl-uboot";
@ -154,6 +158,10 @@
reg = <0x1>; reg = <0x1>;
#address-cells = <0x2>; #address-cells = <0x2>;
#size-cells = <0x1>; #size-cells = <0x1>;
nand-ecc-mode = "soft";
nand-ecc-algo = "bch";
nand-rb = <0>;
label = "main-storage-1";
partition@0 { /* for testing purpose */ partition@0 { /* for testing purpose */
label = "nand1-fsbl-uboot"; label = "nand1-fsbl-uboot";