mirror of https://github.com/hak5/openwrt.git
bcm53xx: add one more NVRAM possible size (0x180000)
Size 0x160000 was added to support Buffalo WZR-600DHP2, however Netgear devices (R6250, R8000) require 0x180000. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44497lede-17.01
parent
e071f4fd1a
commit
a416029d4d
|
@ -71,7 +71,7 @@ index b6e1cc7..8ca7358 100644
|
||||||
|
|
||||||
static char nvram_buf[NVRAM_SPACE];
|
static char nvram_buf[NVRAM_SPACE];
|
||||||
-static const u32 nvram_sizes[] = {0x8000, 0xF000, 0x10000};
|
-static const u32 nvram_sizes[] = {0x8000, 0xF000, 0x10000};
|
||||||
+static const u32 nvram_sizes[] = {0x8000, 0xF000, 0x10000, 0x160000};
|
+static const u32 nvram_sizes[] = {0x8000, 0xF000, 0x10000, 0x160000, 0x180000};
|
||||||
|
|
||||||
static u32 find_nvram_size(void __iomem *end)
|
static u32 find_nvram_size(void __iomem *end)
|
||||||
{
|
{
|
||||||
|
|
|
@ -71,7 +71,7 @@ index b6e1cc7..8ca7358 100644
|
||||||
|
|
||||||
static char nvram_buf[NVRAM_SPACE];
|
static char nvram_buf[NVRAM_SPACE];
|
||||||
-static const u32 nvram_sizes[] = {0x8000, 0xF000, 0x10000};
|
-static const u32 nvram_sizes[] = {0x8000, 0xF000, 0x10000};
|
||||||
+static const u32 nvram_sizes[] = {0x8000, 0xF000, 0x10000, 0x160000};
|
+static const u32 nvram_sizes[] = {0x8000, 0xF000, 0x10000, 0x160000, 0x180000};
|
||||||
|
|
||||||
static u32 find_nvram_size(void __iomem *end)
|
static u32 find_nvram_size(void __iomem *end)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue