[PATCH] BCM1250/BCM1125 recognize more silicon revisions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a simple update to allow the BCM1250/BCM1125 port to recognize
additional (recent) silicon revisions as legal.  This change also uses
the proper macro to detect C0 silicon (instead of the internal,
deprecated PASS3 macro).

Signed-off-by: Mark Mason <mason@xxxxxxxxxxxx>

---
 arch/mips/sibyte/sb1250/setup.c |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/arch/mips/sibyte/sb1250/setup.c b/arch/mips/sibyte/sb1250/setup.c
index d0ee1d5..1e495db 100644
--- a/arch/mips/sibyte/sb1250/setup.c
+++ b/arch/mips/sibyte/sb1250/setup.c
@@ -98,7 +98,7 @@ static int __init setup_bcm1250(void)
 		pass_str = "B2";
 		war_pass = K_SYS_REVISION_BCM1250_PASS2_2;
 		break;
-	case K_SYS_REVISION_BCM1250_PASS3:
+	case K_SYS_REVISION_BCM1250_C0:
 		periph_rev = 3;
 		pass_str = "C0";
 		break;
@@ -106,6 +106,14 @@ static int __init setup_bcm1250(void)
 		periph_rev = 3;
 		pass_str = "C1";
 		break;
+	case K_SYS_REVISION_BCM1250_C2:
+		periph_rev = 3;
+		pass_str = "C2";
+		break;
+	case K_SYS_REVISION_BCM1250_C3:
+		periph_rev = 3;
+		pass_str = "C3";
+		break;
 	default:
 		if (soc_pass < K_SYS_REVISION_BCM1250_PASS2_2) {
 			periph_rev = 2;
@@ -139,6 +147,14 @@ static int __init setup_bcm112x(void)
 		periph_rev = 3;
 		pass_str = "A2";
 		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;
 	default:
 		prom_printf("Unknown %s rev %x\n", soc_str, soc_pass);
 		ret = 1;
-- 
1.1.6.g4e27f





[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux