[OpenWrt-Devel] [PATCH 2/5] brcm63xx: lzma-loader: add BCM3368 support
Álvaro Fernández Rojas
noltari at gmail.com
Fri Oct 9 16:29:46 EDT 2015
Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
---
target/linux/brcm63xx/image/lzma-loader/src/board.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
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:
--
1.9.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list