]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: dts: zynqmp: Enable nand-on-flash-bbt in DT by default
authorAshok Reddy Soma <ashok.reddy.soma@amd.com>
Fri, 24 Feb 2023 05:07:09 +0000 (22:07 -0700)
committerMichal Simek <michal.simek@amd.com>
Thu, 9 Mar 2023 12:15:00 +0000 (13:15 +0100)
By default enable nand-on-flash-bbt DT flag, so that driver always refers
to the bad block table(bbt) present on the flash device.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
Link: https://lore.kernel.org/r/20230224050709.30014-5-ashok.reddy.soma@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts
arch/arm/dts/zynqmp-zc1751-xm017-dc3.dts

index 4e6160bcd8b96a14d6189b7aca59223597648f3c..b6bc2f5be0310719c9d9dc43b17f0c7fb7c2a149 100644 (file)
                label = "main-storage-0";
                nand-ecc-step-size = <1024>;
                nand-ecc-strength = <24>;
+               nand-on-flash-bbt;
 
                partition@0 {   /* for testing purpose */
                        label = "nand-fsbl-uboot";
                label = "main-storage-1";
                nand-ecc-step-size = <1024>;
                nand-ecc-strength = <24>;
+               nand-on-flash-bbt;
 
                partition@0 {   /* for testing purpose */
                        label = "nand1-fsbl-uboot";
index 8a06c2a90a977e7964fcc261156f5f2bfb71f35b..6021f8b4e1bed1aacdd9fcae50016d0d3326d09c 100644 (file)
                label = "main-storage-0";
                nand-ecc-step-size = <1024>;
                nand-ecc-strength = <24>;
+               nand-on-flash-bbt;
 
                partition@0 {   /* for testing purpose */
                        label = "nand-fsbl-uboot";
                label = "main-storage-1";
                nand-ecc-step-size = <1024>;
                nand-ecc-strength = <24>;
+               nand-on-flash-bbt;
 
                partition@0 {   /* for testing purpose */
                        label = "nand1-fsbl-uboot";