aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/pistachio
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2021-03-12 18:30:01 +0100
committerRafał Miłecki <rafal@milecki.pl>2021-03-17 21:24:22 +0100
commit6a217d6d72fff766fc0c8fcf73905fad5fde8fc5 (patch)
tree40ddcf4b9934a282bfd3eedf79125c0fad677418 /target/linux/pistachio
parentc8b415035cb6414774a83f703ff709371f7089c0 (diff)
downloadupstream-6a217d6d72fff766fc0c8fcf73905fad5fde8fc5.tar.gz
upstream-6a217d6d72fff766fc0c8fcf73905fad5fde8fc5.tar.bz2
upstream-6a217d6d72fff766fc0c8fcf73905fad5fde8fc5.zip
kernel: add pending mtd patches adding NVMEM support
It's meant to provide upstream support for mtd & NVMEM. It's required e.g. for reading MAC address from mtd partition content. It seems to be in a final shape so it's worth testing. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit e90e75b12c818c49704755b9e530491aee2d554c)
Diffstat (limited to 'target/linux/pistachio')
-rw-r--r--target/linux/pistachio/patches-5.4/401-mtd-nor-support-mtd-name-from-device-tree.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/pistachio/patches-5.4/401-mtd-nor-support-mtd-name-from-device-tree.patch b/target/linux/pistachio/patches-5.4/401-mtd-nor-support-mtd-name-from-device-tree.patch
index 2d0b1cc634..69a8303d2b 100644
--- a/target/linux/pistachio/patches-5.4/401-mtd-nor-support-mtd-name-from-device-tree.patch
+++ b/target/linux/pistachio/patches-5.4/401-mtd-nor-support-mtd-name-from-device-tree.patch
@@ -34,7 +34,7 @@ Signed-off-by: Abhimanyu Vishwakarma <Abhimanyu.Vishwakarma@imgtec.com>
mtd->type = MTD_NORFLASH;
--- a/drivers/mtd/mtdcore.c
+++ b/drivers/mtd/mtdcore.c
-@@ -778,6 +778,17 @@ out_error:
+@@ -779,6 +779,17 @@ out_error:
*/
static void mtd_set_dev_defaults(struct mtd_info *mtd)
{