aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-4.4/999-wl_exports.patch
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2018-04-23 15:28:54 +0200
committerRafał Miłecki <rafal@milecki.pl>2018-04-23 15:28:54 +0200
commit23a638ebd1fd7b9a38473efa819c0aaec8870822 (patch)
treed104394c897dccd460c313b0ee7c7c4e575ff3b9 /target/linux/brcm47xx/patches-4.4/999-wl_exports.patch
parentefb6ca189641aec64ba94f0d6d4e008fb2c1668b (diff)
downloadupstream-23a638ebd1fd7b9a38473efa819c0aaec8870822.tar.gz
upstream-23a638ebd1fd7b9a38473efa819c0aaec8870822.tar.bz2
upstream-23a638ebd1fd7b9a38473efa819c0aaec8870822.zip
brcm47xx: backport upstream patches for Netgear WNR1000 V3
This includes fix for reading NVRAM content. (cherry picked from commit b1f5dd34ed84b295a67934a64d2ab309db65b65e) Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/brcm47xx/patches-4.4/999-wl_exports.patch')
-rw-r--r--target/linux/brcm47xx/patches-4.4/999-wl_exports.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm47xx/patches-4.4/999-wl_exports.patch b/target/linux/brcm47xx/patches-4.4/999-wl_exports.patch
index ea59f4f1db..02e399df73 100644
--- a/target/linux/brcm47xx/patches-4.4/999-wl_exports.patch
+++ b/target/linux/brcm47xx/patches-4.4/999-wl_exports.patch
@@ -8,7 +8,7 @@
+char nvram_buf[NVRAM_SPACE];
+EXPORT_SYMBOL(nvram_buf);
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;
--- a/arch/mips/mm/cache.c
+++ b/arch/mips/mm/cache.c