brcm47xx: backport upstream patches for Netgear WNR1000 V3
[openwrt/openwrt.git] / target / linux / brcm47xx / patches-4.4 / 820-wgt634u-nvram-fix.patch
index da0f56fd5bdf61936449a78edac7e97b020da724..08e7552163a0cfb1e569c0d9610120be8131ff58 100644 (file)
@@ -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);