projects
/
openwrt
/
staging
/
robimarko.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c43b05
)
brcm63xx: lzma-loader: add BCM3380 support
author
Jonas Gorski
<jogo@openwrt.org>
Wed, 4 Nov 2015 11:33:07 +0000
(11:33 +0000)
committer
Jonas Gorski
<jogo@openwrt.org>
Wed, 4 Nov 2015 11:33:07 +0000
(11:33 +0000)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 47377
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 46af5252f9c639d1c5ebccaf77c06092ac1e94e5..28b9c53f72c15df2786740662b7541dc39eb6e47 100644
(file)
--- a/
target/linux/brcm63xx/image/lzma-loader/src/board.c
+++ b/
target/linux/brcm63xx/image/lzma-loader/src/board.c
@@
-70,6
+70,8
@@
void board_init(void)
case PRID_IMP_BMIPS43XX:
if ((prid & 0xff) == 0x04)
chipid_reg = 0xfff8c000;
+ else if ((prid & 0xff) == 0x70)
+ chipid_reg = 0xb4e00000;
else if ((prid & 0xff) >= 0x30)
chipid_reg = 0xb0000000;
else
@@
-95,6
+97,9
@@
void board_init(void)
case 0x6326:
uart_base = chipid_reg + 0x180;
break;
+ case 0x3380:
+ uart_base = chipid_reg + 0x200;
+ break;
case 0x6338:
case 0x6345:
case 0x6348: