projects
/
librecmc
/
librecmc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
brcm47xx: backport MIPS BCM47XX changes queued for 4.2
[librecmc/librecmc.git]
/
target
/
linux
/
brcm47xx
/
patches-4.0
/
820-wgt634u-nvram-fix.patch
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 51ff74301a3ca9957c6ffbb3553ad334e684b777..c543e8e2e90bb770677a1b26967b4158bd422ec1 100644
(file)
--- 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) {
/* TODO: when nvram is on nand flash check for bad blocks first. */
off = FLASH_MIN;
while (off <= lim) {
-@@ -18
1,6 +203
,13 @@ int bcm47xx_nvram_getenv(const char *nam
+@@ -18
9,6 +211
,13 @@ int bcm47xx_nvram_getenv(const char *nam
return err;
}
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)];
+
/* 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);