bcm53xx: add one more NVRAM possible size (0x180000)
authorRafał Miłecki <zajec5@gmail.com>
Fri, 20 Feb 2015 07:07:53 +0000 (07:07 +0000)
committerRafał Miłecki <zajec5@gmail.com>
Fri, 20 Feb 2015 07:07:53 +0000 (07:07 +0000)
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: 44497

target/linux/bcm53xx/patches-3.14/110-firmware-backport-NVRAM-driver.patch
target/linux/bcm53xx/patches-3.18/110-firmware-backport-NVRAM-driver.patch

index 5c460f1ad9cbee4cfb1d129114facdc8f49d3493..eeabb5435476b5e565620a484ae7c930dc1ceb6c 100644 (file)
@@ -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)
  {
index d9bbc3972c9fa6fa7f5647bfad9caea286ef799e..a3d17aa473c0b3a9f3bf4e84bdc5fbb287fffe6b 100644 (file)
@@ -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)
  {