aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-mediatek/patches/403-add-bananapi_bpi-r64-snand.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/boot/uboot-mediatek/patches/403-add-bananapi_bpi-r64-snand.patch')
-rw-r--r--package/boot/uboot-mediatek/patches/403-add-bananapi_bpi-r64-snand.patch28
1 files changed, 21 insertions, 7 deletions
diff --git a/package/boot/uboot-mediatek/patches/403-add-bananapi_bpi-r64-snand.patch b/package/boot/uboot-mediatek/patches/403-add-bananapi_bpi-r64-snand.patch
index 1dc2a84893a..2ec57708067 100644
--- a/package/boot/uboot-mediatek/patches/403-add-bananapi_bpi-r64-snand.patch
+++ b/package/boot/uboot-mediatek/patches/403-add-bananapi_bpi-r64-snand.patch
@@ -1,6 +1,6 @@
--- a/arch/arm/dts/mt7622-bananapi-bpi-r64.dts
+++ b/arch/arm/dts/mt7622-bananapi-bpi-r64.dts
-@@ -19,7 +19,7 @@
+@@ -20,7 +20,7 @@
};
aliases {
@@ -9,7 +9,7 @@
ethernet0 = ð
};
-@@ -205,17 +205,11 @@
+@@ -208,16 +208,27 @@
};
};
@@ -20,14 +20,28 @@
+&snand {
+ pinctrl-names = "default";
+ pinctrl-0 = <&snfi_pins>;
++ quad-spi;
status = "okay";
--
+
- spi-flash@0{
- compatible = "jedec,spi-nor";
- reg = <0>;
-- u-boot,dm-pre-reloc;
-- };
-+ quad-spi;
+- 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 {