aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-4.14/820-wgt634u-nvram-fix.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.14/820-wgt634u-nvram-fix.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.14/820-wgt634u-nvram-fix.patch')
-rw-r--r--target/linux/brcm47xx/patches-4.14/820-wgt634u-nvram-fix.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm47xx/patches-4.14/820-wgt634u-nvram-fix.patch b/target/linux/brcm47xx/patches-4.14/820-wgt634u-nvram-fix.patch
index 4b726bb427..aaab39ae41 100644
--- a/target/linux/brcm47xx/patches-4.14/820-wgt634u-nvram-fix.patch
+++ b/target/linux/brcm47xx/patches-4.14/820-wgt634u-nvram-fix.patch
@@ -245,7 +245,7 @@ out the configuration than the in kernel cfe config reader.
@@ -37,6 +37,8 @@ struct nvram_header {
static char nvram_buf[NVRAM_SPACE];
static size_t nvram_len;
- static const u32 nvram_sizes[] = {0x8000, 0xF000, 0x10000};
+ static const u32 nvram_sizes[] = {0x6000, 0x8000, 0xF000, 0x10000};
+static int cfe_env;
+extern char *cfe_env_get(char *nv_buf, const char *name);