From b1f5dd34ed84b295a67934a64d2ab309db65b65e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Mon, 23 Apr 2018 13:33:09 +0200 Subject: brcm47xx: backport upstream patches for Netgear WNR1000 V3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This includes fix for reading NVRAM content. Signed-off-by: Rafał Miłecki --- target/linux/brcm47xx/patches-4.9/820-wgt634u-nvram-fix.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/brcm47xx/patches-4.9/820-wgt634u-nvram-fix.patch') diff --git a/target/linux/brcm47xx/patches-4.9/820-wgt634u-nvram-fix.patch b/target/linux/brcm47xx/patches-4.9/820-wgt634u-nvram-fix.patch index 867c6777cb..5c32211571 100644 --- a/target/linux/brcm47xx/patches-4.9/820-wgt634u-nvram-fix.patch +++ b/target/linux/brcm47xx/patches-4.9/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); -- cgit v1.2.3