brcm63xx: fix warning in Redboot code

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39404
master
Florian Fainelli 11 years ago
parent a709f0fd9a
commit 87f8092629
  1. 2
      target/linux/brcm63xx/patches-3.10/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);
+ }
+ }
+ }

Loading…
Cancel
Save