aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-02-20 07:07:53 +0000
committerRafał Miłecki <zajec5@gmail.com>2015-02-20 07:07:53 +0000
commita304daee1f095070937c81253cfe132f4b9402c1 (patch)
tree239feafe7609aa7311173d14ee1d2c81bbeb5bfd /target/linux/bcm53xx
parent203ff72a6ff43411bdbf53f5aeebe8c717692dba (diff)
downloadmaster-187ad058-a304daee1f095070937c81253cfe132f4b9402c1.tar.gz
master-187ad058-a304daee1f095070937c81253cfe132f4b9402c1.tar.bz2
master-187ad058-a304daee1f095070937c81253cfe132f4b9402c1.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44497 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/bcm53xx')
-rw-r--r--target/linux/bcm53xx/patches-3.14/110-firmware-backport-NVRAM-driver.patch2
-rw-r--r--target/linux/bcm53xx/patches-3.18/110-firmware-backport-NVRAM-driver.patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/bcm53xx/patches-3.14/110-firmware-backport-NVRAM-driver.patch b/target/linux/bcm53xx/patches-3.14/110-firmware-backport-NVRAM-driver.patch
index 5c460f1ad9..eeabb54354 100644
--- a/target/linux/bcm53xx/patches-3.14/110-firmware-backport-NVRAM-driver.patch
+++ b/target/linux/bcm53xx/patches-3.14/110-firmware-backport-NVRAM-driver.patch
@@ -71,7 +71,7 @@ index b6e1cc7..8ca7358 100644
static char nvram_buf[NVRAM_SPACE];
-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)
{
diff --git a/target/linux/bcm53xx/patches-3.18/110-firmware-backport-NVRAM-driver.patch b/target/linux/bcm53xx/patches-3.18/110-firmware-backport-NVRAM-driver.patch
index d9bbc3972c..a3d17aa473 100644
--- a/target/linux/bcm53xx/patches-3.18/110-firmware-backport-NVRAM-driver.patch
+++ b/target/linux/bcm53xx/patches-3.18/110-firmware-backport-NVRAM-driver.patch
@@ -71,7 +71,7 @@ index b6e1cc7..8ca7358 100644
static char nvram_buf[NVRAM_SPACE];
-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)
{