From 75e3c20a8b31e57b3a9f554ba9e23c4efda1d9cb Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 27 Jan 2014 04:34:39 +0000 Subject: brcm63xx: fix warning in Redboot code Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39404 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/brcm63xx/patches-3.10/400-bcm963xx_flashmap.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/brcm63xx/patches-3.10/400-bcm963xx_flashmap.patch b/target/linux/brcm63xx/patches-3.10/400-bcm963xx_flashmap.patch index 0bbb4e5289..1594a063aa 100644 --- a/target/linux/brcm63xx/patches-3.10/400-bcm963xx_flashmap.patch +++ b/target/linux/brcm63xx/patches-3.10/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); + } + } + } -- cgit v1.2.3