mirror of https://github.com/hak5/openwrt.git
brcm63xx: lzma-loader: add BCM3380 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 47377lede-17.01
parent
4c43b05dac
commit
8f3cfe4ba2
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue