From 5241c0c93cbb038496d42fa8cb067d65a1dbf221 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Fri, 20 Feb 2015 07:07:53 +0000 Subject: [PATCH] bcm53xx: add one more NVRAM possible size (0x180000) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Size 0x160000 was added to support Buffalo WZR-600DHP2, however Netgear devices (R6250, R8000) require 0x180000. Signed-off-by: Rafał Miłecki SVN-Revision: 44497 --- .../patches-3.14/110-firmware-backport-NVRAM-driver.patch | 2 +- .../patches-3.18/110-firmware-backport-NVRAM-driver.patch | 2 +- 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) { -- 2.30.2