diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2018-04-23 15:28:54 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2018-04-23 15:28:54 +0200 |
commit | 23a638ebd1fd7b9a38473efa819c0aaec8870822 (patch) | |
tree | d104394c897dccd460c313b0ee7c7c4e575ff3b9 /target/linux/brcm47xx/patches-4.4/400-mtd-bcm47xxpart-get-nvram.patch | |
parent | efb6ca189641aec64ba94f0d6d4e008fb2c1668b (diff) | |
download | upstream-23a638ebd1fd7b9a38473efa819c0aaec8870822.tar.gz upstream-23a638ebd1fd7b9a38473efa819c0aaec8870822.tar.bz2 upstream-23a638ebd1fd7b9a38473efa819c0aaec8870822.zip |
brcm47xx: backport upstream patches for Netgear WNR1000 V3
This includes fix for reading NVRAM content.
(cherry picked from commit b1f5dd34ed84b295a67934a64d2ab309db65b65e)
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/brcm47xx/patches-4.4/400-mtd-bcm47xxpart-get-nvram.patch')
-rw-r--r-- | target/linux/brcm47xx/patches-4.4/400-mtd-bcm47xxpart-get-nvram.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm47xx/patches-4.4/400-mtd-bcm47xxpart-get-nvram.patch b/target/linux/brcm47xx/patches-4.4/400-mtd-bcm47xxpart-get-nvram.patch index 64184c079d..2b9290ddec 100644 --- a/target/linux/brcm47xx/patches-4.4/400-mtd-bcm47xxpart-get-nvram.patch +++ b/target/linux/brcm47xx/patches-4.4/400-mtd-bcm47xxpart-get-nvram.patch @@ -8,7 +8,7 @@ /* * Some really old flashes (like AT45DB*) had smaller erasesize-s, but -@@ -384,12 +385,23 @@ static int bcm47xxpart_parse(struct mtd_ +@@ -398,12 +399,23 @@ static int bcm47xxpart_parse(struct mtd_ if (buf[0] == NVRAM_HEADER) { bcm47xxpart_add_part(&parts[curr_part++], "nvram", master->size - blocksize, 0); |