projects
/
openwrt
/
staging
/
jogo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d4f8ff
)
brcm63xx: fix lzma loader for BCM6362
author
Jonas Gorski
<
[email protected]
>
Tue, 7 Feb 2017 18:08:04 +0000
(19:08 +0100)
committer
Jonas Gorski
<
[email protected]
>
Thu, 9 Feb 2017 13:30:44 +0000
(14:30 +0100)
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 <
[email protected]
>
target/linux/brcm63xx/image/lzma-loader/src/board.c
patch
|
blob
|
history
diff --git
a/target/linux/brcm63xx/image/lzma-loader/src/board.c
b/target/linux/brcm63xx/image/lzma-loader/src/board.c
index 28b9c53f72c15df2786740662b7541dc39eb6e47..6a1b13225468973121cb7a09480d67fb40a1ede0 100644
(file)
--- 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