diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2015-06-05 20:41:18 +0000 |
---|---|---|
committer | Rafał Miłecki <zajec5@gmail.com> | 2015-06-05 20:41:18 +0000 |
commit | 5dcf53c610633ccaf3316181f084fd1069715179 (patch) | |
tree | 5ad6beab600bd6b9f712f701d7eeee449f8b0d2d /target/linux/brcm47xx/patches-4.0/820-wgt634u-nvram-fix.patch | |
parent | 9e0443cd1272d6f4ea1fd24494278069ab45e8c4 (diff) | |
download | upstream-5dcf53c610633ccaf3316181f084fd1069715179.tar.gz upstream-5dcf53c610633ccaf3316181f084fd1069715179.tar.bz2 upstream-5dcf53c610633ccaf3316181f084fd1069715179.zip |
brcm47xx: backport MIPS BCM47XX changes queued for 4.2
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45906 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-4.0/820-wgt634u-nvram-fix.patch')
-rw-r--r-- | target/linux/brcm47xx/patches-4.0/820-wgt634u-nvram-fix.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm47xx/patches-4.0/820-wgt634u-nvram-fix.patch b/target/linux/brcm47xx/patches-4.0/820-wgt634u-nvram-fix.patch index 51ff74301a..c543e8e2e9 100644 --- a/target/linux/brcm47xx/patches-4.0/820-wgt634u-nvram-fix.patch +++ b/target/linux/brcm47xx/patches-4.0/820-wgt634u-nvram-fix.patch @@ -279,7 +279,7 @@ out the configuration than the in kernel cfe config reader. /* TODO: when nvram is on nand flash check for bad blocks first. */ off = FLASH_MIN; while (off <= lim) { -@@ -181,6 +203,13 @@ int bcm47xx_nvram_getenv(const char *nam +@@ -189,6 +211,13 @@ int bcm47xx_nvram_getenv(const char *nam return err; } @@ -292,4 +292,4 @@ out the configuration than the in kernel cfe config reader. + /* Look for name=value and return value */ var = &nvram_buf[sizeof(struct nvram_header)]; - end = nvram_buf + sizeof(nvram_buf) - 2; + end = nvram_buf + sizeof(nvram_buf); |