aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/patches-5.15/331-mt7622-rfb1-enable-bmt.patch
diff options
context:
space:
mode:
authorChuanhong Guo <gch981213@gmail.com>2022-04-07 10:16:47 +0800
committerChuanhong Guo <gch981213@gmail.com>2022-04-28 18:06:00 +0800
commit68d5efaa10cf0689521fe05e386e3a1e11d8cb29 (patch)
treec6492319fa9cb6ef1694431c948b907be6fe2735 /target/linux/mediatek/patches-5.15/331-mt7622-rfb1-enable-bmt.patch
parent2138956bdc3145fac26d2ba8ac966f31d33cd290 (diff)
downloadupstream-68d5efaa10cf0689521fe05e386e3a1e11d8cb29.tar.gz
upstream-68d5efaa10cf0689521fe05e386e3a1e11d8cb29.tar.bz2
upstream-68d5efaa10cf0689521fe05e386e3a1e11d8cb29.zip
mediatek: add an upstreamed spi-nand driver
This patch implements the spi-nand controller driver as an ECC-capable spi-mem controller to use the upstream SPI-NAND driver. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Diffstat (limited to 'target/linux/mediatek/patches-5.15/331-mt7622-rfb1-enable-bmt.patch')
-rw-r--r--target/linux/mediatek/patches-5.15/331-mt7622-rfb1-enable-bmt.patch15
1 files changed, 7 insertions, 8 deletions
diff --git a/target/linux/mediatek/patches-5.15/331-mt7622-rfb1-enable-bmt.patch b/target/linux/mediatek/patches-5.15/331-mt7622-rfb1-enable-bmt.patch
index 03c0771bcf..9c1a8f284a 100644
--- a/target/linux/mediatek/patches-5.15/331-mt7622-rfb1-enable-bmt.patch
+++ b/target/linux/mediatek/patches-5.15/331-mt7622-rfb1-enable-bmt.patch
@@ -1,11 +1,10 @@
--- a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
+++ b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
-@@ -545,6 +545,8 @@
- pinctrl-0 = <&serial_nand_pins>;
- status = "okay";
+@@ -553,6 +553,7 @@
+ spi-tx-bus-width = <4>;
+ spi-rx-bus-width = <4>;
+ nand-ecc-engine = <&snfi>;
++ mediatek,bmt-v2;
-+ mediatek,bmt-v2;
-+
- partitions {
- compatible = "fixed-partitions";
- #address-cells = <1>;
+ partitions {
+ compatible = "fixed-partitions";