diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2018-04-23 15:28:54 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2018-04-23 15:28:54 +0200 |
commit | 23a638ebd1fd7b9a38473efa819c0aaec8870822 (patch) | |
tree | d104394c897dccd460c313b0ee7c7c4e575ff3b9 /target/linux/brcm47xx/patches-4.4/820-wgt634u-nvram-fix.patch | |
parent | efb6ca189641aec64ba94f0d6d4e008fb2c1668b (diff) | |
download | mtk-20170518-23a638ebd1fd7b9a38473efa819c0aaec8870822.zip mtk-20170518-23a638ebd1fd7b9a38473efa819c0aaec8870822.tar.gz mtk-20170518-23a638ebd1fd7b9a38473efa819c0aaec8870822.tar.bz2 |
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/820-wgt634u-nvram-fix.patch')
-rw-r--r-- | target/linux/brcm47xx/patches-4.4/820-wgt634u-nvram-fix.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm47xx/patches-4.4/820-wgt634u-nvram-fix.patch b/target/linux/brcm47xx/patches-4.4/820-wgt634u-nvram-fix.patch index da0f56f..08e7552 100644 --- a/target/linux/brcm47xx/patches-4.4/820-wgt634u-nvram-fix.patch +++ b/target/linux/brcm47xx/patches-4.4/820-wgt634u-nvram-fix.patch @@ -244,7 +244,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); |