mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-20 09:26:28 +00:00
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
This commit is contained in:
parent
a15f148cf8
commit
4c43b05dac
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user