brcm63xx: fix warning in Redboot code

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

SVN-Revision: 39404
This commit is contained in:
Florian Fainelli 2014-01-27 04:34:39 +00:00
parent a709f0fd9a
commit 87f8092629

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