diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-11-04 11:33:07 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-11-04 11:33:07 +0000 |
commit | 52c9ad215559bf835ac83f8daaf6afd1feda7d4a (patch) | |
tree | 6efee6b84592aec2fcc6a6889cc5bcfe720cb14d /target | |
parent | fff4e4146055abc30cee868cb6ee1a735430d164 (diff) | |
download | master-187ad058-52c9ad215559bf835ac83f8daaf6afd1feda7d4a.tar.gz master-187ad058-52c9ad215559bf835ac83f8daaf6afd1feda7d4a.tar.bz2 master-187ad058-52c9ad215559bf835ac83f8daaf6afd1feda7d4a.zip |
brcm63xx: lzma-loader: add BCM3380 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47377 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/brcm63xx/image/lzma-loader/src/board.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/image/lzma-loader/src/board.c b/target/linux/brcm63xx/image/lzma-loader/src/board.c index 46af5252f9..28b9c53f72 100644 --- 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: |