diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-11-04 11:33:03 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-11-04 11:33:03 +0000 |
commit | 4c43b05dac4190fd60cbe955dfdf7e49cdd100dd (patch) | |
tree | 8053430a61bc48c76ae29dbc1b22f74d38c55791 /target/linux/brcm63xx/image | |
parent | a15f148cf87d7ddf04893fc6b28d08687d309a5e (diff) | |
download | mtk-20170518-4c43b05dac4190fd60cbe955dfdf7e49cdd100dd.zip mtk-20170518-4c43b05dac4190fd60cbe955dfdf7e49cdd100dd.tar.gz mtk-20170518-4c43b05dac4190fd60cbe955dfdf7e49cdd100dd.tar.bz2 |
brcm63xx: lzma-loader: add BCM3368 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 47376
Diffstat (limited to 'target/linux/brcm63xx/image')
-rw-r--r-- | target/linux/brcm63xx/image/lzma-loader/src/board.c | 5 |
1 files changed, 4 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 1c715e3..46af525 100644 --- a/target/linux/brcm63xx/image/lzma-loader/src/board.c +++ b/target/linux/brcm63xx/image/lzma-loader/src/board.c @@ -68,7 +68,9 @@ void board_init(void) chipid_reg = 0xfffe0000; break; case PRID_IMP_BMIPS43XX: - if ((prid & 0xff) >= 0x30) + if ((prid & 0xff) == 0x04) + chipid_reg = 0xfff8c000; + else if ((prid & 0xff) >= 0x30) chipid_reg = 0xb0000000; else chipid_reg = 0xfffe0000; @@ -80,6 +82,7 @@ void board_init(void) chipid = READREG(chipid_reg); switch (chipid >> 16) { + case 0x3368: case 0x6318: case 0x6328: case 0x6358: |