]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: AM33xx: updated default ECC scheme in nand-ecc-opt
authorPekon Gupta <pekon@ti.com>
Wed, 5 Feb 2014 13:28:32 +0000 (18:58 +0530)
committerTony Lindgren <tony@atomide.com>
Sun, 2 Mar 2014 18:15:54 +0000 (10:15 -0800)
This patch updated MTD/NAND DT node binding to replace deprecated bindings
as per following commit.
    commit ac65caf514ec3e55e8d3d510ee37f80dd97418fe
    ARM: OMAP2+: cleaned-up DT support of various ECC schemes
    Also Refer: Documentation/devicetree/bindings/mtd/gpmc-nand.txt

Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Pekon Gupta <pekon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-evm.dts
arch/arm/boot/dts/omap3430-sdp.dts

index 17c3cc0890ace4503af863cc190f5c5511960622..07d61bb8d481bec0f9b78f5796a7ea2c44b7546e 100644 (file)
        ranges = <0 0 0x08000000 0x10000000>;   /* CS0: NAND */
        nand@0,0 {
                reg = <0 0 0>; /* CS0, offset 0 */
-               nand-bus-width = <8>;
                ti,nand-ecc-opt = "bch8";
-               gpmc,device-nand = "true";
+               ti,elm-id = <&elm>;
+               nand-bus-width = <8>;
                gpmc,device-width = <1>;
                gpmc,sync-clk-ps = <0>;
                gpmc,cs-on-ns = <0>;
                gpmc,wait-monitoring-ns = <0>;
                gpmc,wr-access-ns = <40>;
                gpmc,wr-data-mux-bus-ns = <0>;
-               elm_id = <&elm>;
                /* MTD partition table */
                /* All SPL-* partitions are sized to minimal length
                 * which can be independently programmable. For
index 281914ed015136c57cb65d1039136899726bfd12..d48c08558de334fccb058be195b1058e59fe5538 100644 (file)
                #address-cells = <1>;
                #size-cells = <1>;
                reg = <1 0 0x08000000>;
+               ti,nand-ecc-opt = "ham1";
                nand-bus-width = <8>;
-
-               ti,nand-ecc-opt = "sw";
                gpmc,cs-on-ns = <0>;
                gpmc,cs-rd-off-ns = <36>;
                gpmc,cs-wr-off-ns = <36>;