aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2017-02-07 19:08:04 +0100
committerJonas Gorski <jonas.gorski@gmail.com>2017-02-09 14:30:44 +0100
commit8b741d5cd182be1ad830f43bbc0a412912ea84f8 (patch)
tree74cf54f02d045832ec29c0dcabd1512c0f3ad8b1 /target/linux/brcm63xx
parent9d4f8ff4f65c5928852ebbe25d07a7533bcd540a (diff)
downloadupstream-8b741d5cd182be1ad830f43bbc0a412912ea84f8.tar.gz
upstream-8b741d5cd182be1ad830f43bbc0a412912ea84f8.tar.bz2
upstream-8b741d5cd182be1ad830f43bbc0a412912ea84f8.zip
brcm63xx: fix lzma loader for BCM6362
BCM6362 and BCM3380 seem to share the same PRID. Disable serial output for them until we can find a way to tell them apart reliably. Fixes: 8f3cfe4ba2 ("brcm63xx: lzma-loader: add BCM3380 support") Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'target/linux/brcm63xx')
-rw-r--r--target/linux/brcm63xx/image/lzma-loader/src/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/image/lzma-loader/src/board.c b/target/linux/brcm63xx/image/lzma-loader/src/board.c
index 28b9c53f72..6a1b132254 100644
--- a/target/linux/brcm63xx/image/lzma-loader/src/board.c
+++ b/target/linux/brcm63xx/image/lzma-loader/src/board.c
@@ -71,7 +71,7 @@ void board_init(void)
if ((prid & 0xff) == 0x04)
chipid_reg = 0xfff8c000;
else if ((prid & 0xff) == 0x70)
- chipid_reg = 0xb4e00000;
+ return; /* FIXME: 0002a070 can be 6362 and 3380 */
else if ((prid & 0xff) >= 0x30)
chipid_reg = 0xb0000000;
else