Commit 9a994357 authored by Mark Mason's avatar Mark Mason Committed by Ralf Baechle

[MIPS] Add missing silicon revisions for BCM112x

Recent versions of the BCM112X processors aren't recognized by Linux
(preventing Linux from booting on those processors).  This patch adds
support for those that are missing.
Signed-off-by: default avatarMark Mason <mason@broadcom.com>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 46fcc86d
...@@ -141,6 +141,18 @@ static int __init setup_bcm112x(void) ...@@ -141,6 +141,18 @@ static int __init setup_bcm112x(void)
periph_rev = 3; periph_rev = 3;
pass_str = "A2"; pass_str = "A2";
break; break;
case K_SYS_REVISION_BCM112x_A3:
periph_rev = 3;
pass_str = "A3";
break;
case K_SYS_REVISION_BCM112x_A4:
periph_rev = 3;
pass_str = "A4";
break;
case K_SYS_REVISION_BCM112x_B0:
periph_rev = 3;
pass_str = "B0";
break;
default: default:
printk("Unknown %s rev %x\n", soc_str, soc_pass); printk("Unknown %s rev %x\n", soc_str, soc_pass);
ret = 1; ret = 1;
......
...@@ -84,6 +84,7 @@ ...@@ -84,6 +84,7 @@
#define K_SYS_REVISION_BCM112x_A2 0x21 #define K_SYS_REVISION_BCM112x_A2 0x21
#define K_SYS_REVISION_BCM112x_A3 0x22 #define K_SYS_REVISION_BCM112x_A3 0x22
#define K_SYS_REVISION_BCM112x_A4 0x23 #define K_SYS_REVISION_BCM112x_A4 0x23
#define K_SYS_REVISION_BCM112x_B0 0x30
#define K_SYS_REVISION_BCM1480_S0 0x01 #define K_SYS_REVISION_BCM1480_S0 0x01
#define K_SYS_REVISION_BCM1480_A1 0x02 #define K_SYS_REVISION_BCM1480_A1 0x02
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment