aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-4.9/400-mtd-bcm47xxpart-get-nvram.patch
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2018-04-23 13:33:09 +0200
committerRafał Miłecki <rafal@milecki.pl>2018-04-23 13:33:09 +0200
commitb1f5dd34ed84b295a67934a64d2ab309db65b65e (patch)
tree69d4eb14420dd06861b8b5fe91d8dc9570d49164 /target/linux/brcm47xx/patches-4.9/400-mtd-bcm47xxpart-get-nvram.patch
parent751746c736bbda828ff1add002a0419a3b883e63 (diff)
downloadupstream-b1f5dd34ed84b295a67934a64d2ab309db65b65e.tar.gz
upstream-b1f5dd34ed84b295a67934a64d2ab309db65b65e.tar.bz2
upstream-b1f5dd34ed84b295a67934a64d2ab309db65b65e.zip
brcm47xx: backport upstream patches for Netgear WNR1000 V3
This includes fix for reading NVRAM content. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/brcm47xx/patches-4.9/400-mtd-bcm47xxpart-get-nvram.patch')
-rw-r--r--target/linux/brcm47xx/patches-4.9/400-mtd-bcm47xxpart-get-nvram.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm47xx/patches-4.9/400-mtd-bcm47xxpart-get-nvram.patch b/target/linux/brcm47xx/patches-4.9/400-mtd-bcm47xxpart-get-nvram.patch
index 7e4ae20704..df9d434c9f 100644
--- a/target/linux/brcm47xx/patches-4.9/400-mtd-bcm47xxpart-get-nvram.patch
+++ b/target/linux/brcm47xx/patches-4.9/400-mtd-bcm47xxpart-get-nvram.patch
@@ -8,7 +8,7 @@
/*
* Some really old flashes (like AT45DB*) had smaller erasesize-s, but
-@@ -269,12 +270,23 @@ static int bcm47xxpart_parse(struct mtd_
+@@ -283,12 +284,23 @@ static int bcm47xxpart_parse(struct mtd_
if (buf[0] == NVRAM_HEADER) {
bcm47xxpart_add_part(&parts[curr_part++], "nvram",
master->size - blocksize, 0);