aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/patches-5.4
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2021-04-18 21:51:00 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2021-05-23 17:10:17 +0200
commita6616eea406d8654f5a0198a26c5748a86c75272 (patch)
treea88c49947f6de28a7acde088d03cbabe34eac976 /target/linux/mediatek/patches-5.4
parentd6831752367722e916bd15e5d1af79993c637a67 (diff)
downloadupstream-a6616eea406d8654f5a0198a26c5748a86c75272.tar.gz
upstream-a6616eea406d8654f5a0198a26c5748a86c75272.tar.bz2
upstream-a6616eea406d8654f5a0198a26c5748a86c75272.zip
mediatek: update mtd parser patches
This updates the patches to match the versions included in the mtd subsystem for the next Linux kernel version. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/mediatek/patches-5.4')
-rw-r--r--target/linux/mediatek/patches-5.4/0350-mtd-parsers-trx-Allow-to-specify-trx-magic-in-DT.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/mediatek/patches-5.4/0350-mtd-parsers-trx-Allow-to-specify-trx-magic-in-DT.patch b/target/linux/mediatek/patches-5.4/0350-mtd-parsers-trx-Allow-to-specify-trx-magic-in-DT.patch
index 4db51a88ad..0446ce9386 100644
--- a/target/linux/mediatek/patches-5.4/0350-mtd-parsers-trx-Allow-to-specify-trx-magic-in-DT.patch
+++ b/target/linux/mediatek/patches-5.4/0350-mtd-parsers-trx-Allow-to-specify-trx-magic-in-DT.patch
@@ -1,7 +1,7 @@
From 0600e3d81628002a5cd80cf83ee454851b0063c0 Mon Sep 17 00:00:00 2001
From: Hauke Mehrtens <hauke@hauke-m.de>
Date: Sun, 7 Mar 2021 18:19:26 +0100
-Subject: mtd: parsers: trx: Allow to specify trx-magic in DT
+Subject: mtd: parsers: trx: Allow to specify brcm,trx-magic in DT
Buffalo uses a different TRX magic for every device, to be able to use
this trx parser, make it possible to specify the TRX magic in device
@@ -23,7 +23,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
+Optional properties:
+
-+- trx-magic: TRX magic, if it is different from the default magic
++- brcm,trx-magic: TRX magic, if it is different from the default magic
+ 0x30524448 as a u32.
+
Example:
@@ -46,9 +46,9 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
+ return trx_magic;
+
+ /* Get different magic from device tree if specified */
-+ err = of_property_read_u32(np, "trx-magic", &trx_magic);
++ err = of_property_read_u32(np, "brcm,trx-magic", &trx_magic);
+ if (err != 0 && err != -EINVAL)
-+ pr_err("failed to parse \"trx-magic\" DT attribute, use default: %d\n", err);
++ pr_err("failed to parse \"brcm,trx-magic\" DT attribute, use default: %d\n", err);
+
+ return trx_magic;
+}