]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: dts: zynqmp: make hw-ecc as the default ecc mode
authorAmit Kumar Mahapatra <amit.kumar-mahapatra@amd.com>
Thu, 12 Oct 2023 13:58:21 +0000 (15:58 +0200)
committerMichal Simek <michal.simek@amd.com>
Tue, 7 Nov 2023 12:47:09 +0000 (13:47 +0100)
Except for Linux no other component (i.e., u-boot, fsbl or BootRom) of the
software stack supports software ecc engine. So, make hw-ecc as the default
ecc mode.

Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/f47b95616eb40d3a9908ca60df94ec6e873b071c.1697119098.git.michal.simek@amd.com
arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts

index 23a3ff2fed98d47ead6cf8516adf1b79bdfad602..160c6c58b36d5cdde5766d6d76874b6191895400 100644 (file)
                reg = <0x0>;
                #address-cells = <0x2>;
                #size-cells = <0x1>;
-               nand-ecc-mode = "soft";
-               nand-ecc-algo = "bch";
+               nand-ecc-mode = "hw";
                nand-rb = <0>;
                label = "main-storage-0";
                nand-ecc-step-size = <1024>;
                reg = <0x1>;
                #address-cells = <0x2>;
                #size-cells = <0x1>;
-               nand-ecc-mode = "soft";
-               nand-ecc-algo = "bch";
+               nand-ecc-mode = "hw";
                nand-rb = <0>;
                label = "main-storage-1";
                nand-ecc-step-size = <1024>;