diff options
author | Amit Kumar Mahapatra <amit.kumar-mahapatra@xilinx.com> | 2021-02-18 00:50:21 -0700 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2021-03-30 12:03:24 +0200 |
commit | fbf043d7e637378354fdc47369b0f48682d766a3 (patch) | |
tree | 1cbdb0e4e2d84727b420cef7fa27c1fe29f8a78a | |
parent | cde1aaeae2f7cff68c83ff321f421a4e6e8309aa (diff) | |
download | u-boot-fbf043d7e637378354fdc47369b0f48682d766a3.tar.gz |
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>
-rw-r--r-- | arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts b/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts index 92d938d665..3204456e64 100644 --- a/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts +++ b/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts @@ -124,6 +124,10 @@ 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"; @@ -154,6 +158,10 @@ 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"; |