]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] Add missing silicon revisions for BCM112x
authorMark Mason <mmason@upwardaccess.com>
Fri, 13 Apr 2007 17:32:25 +0000 (10:32 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 20 Apr 2007 13:58:37 +0000 (14:58 +0100)
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: Mark Mason <mason@broadcom.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/sibyte/sb1250/setup.c
include/asm-mips/sibyte/sb1250_scd.h

index 87188f0f6fbe1e4f7d61683c8cdc9bec1b5afb19..f4a6169aa0a422e4b35522f11e0770abcf7b57bb 100644 (file)
@@ -141,6 +141,18 @@ 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;
+       case K_SYS_REVISION_BCM112x_B0:
+               periph_rev = 3;
+               pass_str = "B0";
+               break;
        default:
                printk("Unknown %s rev %x\n", soc_str, soc_pass);
                ret = 1;
index 7ed0bb611e56131035cad690422cd49fdbeed224..b6a7d8f6ced572810b20f9e4ce3eed1432972552 100644 (file)
@@ -84,6 +84,7 @@
 #define K_SYS_REVISION_BCM112x_A2      0x21
 #define K_SYS_REVISION_BCM112x_A3      0x22
 #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_A1      0x02