diff --git a/target/linux/brcm63xx/patches-4.14/400-bcm963xx_flashmap.patch b/target/linux/brcm63xx/patches-4.14/400-bcm963xx_flashmap.patch index c693ace363..378983df17 100644 --- a/target/linux/brcm63xx/patches-4.14/400-bcm963xx_flashmap.patch +++ b/target/linux/brcm63xx/patches-4.14/400-bcm963xx_flashmap.patch @@ -40,7 +40,7 @@ Signed-off-by: Axel Gembe + } 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)); + } + } + }