summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/patches-3.14/400-bcm963xx_flashmap.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-06-30 13:34:43 +0000
committerJonas Gorski <jogo@openwrt.org>2014-06-30 13:34:43 +0000
commit2289e5825253464712260555f3954d45148a6633 (patch)
treea1c6a329db5dbc3f5e4e4912a1a1e22b18aef923 /target/linux/brcm63xx/patches-3.14/400-bcm963xx_flashmap.patch
parentdc230d9b0f9ba046fb1e9e51de21ae35504a9aab (diff)
downloadmtk-20170518-2289e5825253464712260555f3954d45148a6633.zip
mtk-20170518-2289e5825253464712260555f3954d45148a6633.tar.gz
mtk-20170518-2289e5825253464712260555f3954d45148a6633.tar.bz2
brcm63xx: fix Livebox 1 support
The Livebox 1 support is currently broken. Fixed with this patch Fixes: - Redboot partitioning broken: fixed - Replaced custom ephy reset with platform code - USB code breaks the building process: fixed - Led colors - Removed unneded EHCI code since bcm6348 only has OHCI Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com> [jogo: drop unneded parts since merge, fixup to apply to current head] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41424
Diffstat (limited to 'target/linux/brcm63xx/patches-3.14/400-bcm963xx_flashmap.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.14/400-bcm963xx_flashmap.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/patches-3.14/400-bcm963xx_flashmap.patch b/target/linux/brcm63xx/patches-3.14/400-bcm963xx_flashmap.patch
index 1594a06..0bbb4e5 100644
--- a/target/linux/brcm63xx/patches-3.14/400-bcm963xx_flashmap.patch
+++ b/target/linux/brcm63xx/patches-3.14/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);
+ }
+ }
+ }