brcm63xx: fix warning in Redboot code

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

SVN-Revision: 39404
lede-17.01
Florian Fainelli 2014-01-27 04:34:39 +00:00
parent a709f0fd9a
commit 87f8092629
1 changed files with 1 additions and 1 deletions

View File

@ -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);
+ }
+ }
+ }