diff options
Diffstat (limited to 'target/linux/bcm63xx/patches-5.4/400-bcm963xx_flashmap.patch')
-rw-r--r-- | target/linux/bcm63xx/patches-5.4/400-bcm963xx_flashmap.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/bcm63xx/patches-5.4/400-bcm963xx_flashmap.patch b/target/linux/bcm63xx/patches-5.4/400-bcm963xx_flashmap.patch index b80f096413..f57950b44a 100644 --- a/target/linux/bcm63xx/patches-5.4/400-bcm963xx_flashmap.patch +++ b/target/linux/bcm63xx/patches-5.4/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)); + } + } + } |