brcm63xx: fix Livebox 1 support
[openwrt.git] / target / linux / brcm63xx / patches-3.14 / 400-bcm963xx_flashmap.patch
index 1594a06..0bbb4e5 100644 (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);
 +                      }
 +              }
 +      }