mediatek: mt7622: convert BPi-R64 to all-UBI layout and fitblk
[openwrt/staging/dangole.git] / package / boot / uboot-mediatek / patches / 403-add-bananapi_bpi-r64-snand.patch
index c9da03c725400db3e9a84a2e08032f5d1aa5f614..2ec57708067ba60a9498d2fc401ab4ac6958aa08 100644 (file)
@@ -9,7 +9,7 @@
                ethernet0 = ð
        };
  
-@@ -208,17 +208,11 @@
+@@ -208,16 +208,27 @@
        };
  };
  
 +      pinctrl-0 = <&snfi_pins>;
 +      quad-spi;
        status = "okay";
--
 -      spi-flash@0{
 -              compatible = "jedec,spi-nor";
 -              reg = <0>;
 -              bootph-all;
--      };
++      partitions {
++              compatible = "fixed-partitions";
++              #address-cells = <1>;
++              #size-cells = <1>;
++
++              partition@0 {
++                      label = "bl2";
++                      reg = <0x0 0x80000>;
++              };
++
++              partition@80000 {
++                      label = "ubi";
++                      reg = <0x80000 0x7f80000>;
++                      compatible = "linux,ubi";
++              };
+       };
  };
  
- &uart0 {