提交 6ab7c290 编写于 作者: R Rafał Miłecki 提交者: Ralf Baechle

MIPS: BCM47XX: Increase NVRAM buffer size to 64 KiB

For years Broadcom devices use 64 KiB NVRAM partition size and some of
them indeed have it filled in more than 50%. This change allows reading
whole NVRAM e.g. on Netgear WNDR4500 and Netgear R8000.
Signed-off-by: NRafał Miłecki <zajec5@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Patchwork: https://patchwork.linux-mips.org/patch/9651/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 50c97910
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <linux/bcm47xx_nvram.h> #include <linux/bcm47xx_nvram.h>
#define NVRAM_MAGIC 0x48534C46 /* 'FLSH' */ #define NVRAM_MAGIC 0x48534C46 /* 'FLSH' */
#define NVRAM_SPACE 0x8000 #define NVRAM_SPACE 0x10000
#define NVRAM_MAX_GPIO_ENTRIES 32 #define NVRAM_MAX_GPIO_ENTRIES 32
#define NVRAM_MAX_GPIO_VALUE_LEN 30 #define NVRAM_MAX_GPIO_VALUE_LEN 30
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册