projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bcm63xx: redboot: fix warning
[openwrt/openwrt.git]
/
target
/
linux
/
brcm63xx
/
patches-4.9
/
400-bcm963xx_flashmap.patch
diff --git
a/target/linux/brcm63xx/patches-4.9/400-bcm963xx_flashmap.patch
b/target/linux/brcm63xx/patches-4.9/400-bcm963xx_flashmap.patch
index c693ace36324587bc76f49a617b738758b3be5cd..378983df17b9c02c1d316b97397a7ec2457f2d43 100644
(file)
--- a/
target/linux/brcm63xx/patches-4.9/400-bcm963xx_flashmap.patch
+++ b/
target/linux/brcm63xx/patches-4.9/400-bcm963xx_flashmap.patch
@@
-40,7
+40,7
@@
Signed-off-by: Axel Gembe <ago@bastart.eu.org>
+ } else {
+ for (i = 0; i < numslots; i++) {
+ if (!strncmp(buf[i].name, "RedBoot", 8)) {
-+ fis_origin = (buf[i].flash_base & (
master->size << 1) - 1
);
++ fis_origin = (buf[i].flash_base & (
(master->size << 1) - 1)
);
+ }
+ }
+ }