kernel: backport mtd support for subpartitions in DT
[oweals/openwrt.git] / target / linux / brcm47xx / patches-4.14 / 820-wgt634u-nvram-fix.patch
index 4b726bb427f30ca77775158034d2994393c8a9ba..aaab39ae41673a96a57335ba32b4aa0fc727618d 100644 (file)
@@ -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);