summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2012-05-18 15:45:51 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2012-05-18 15:45:51 +0000
commitb4ecf522cdec0a3888312f0b2fa1bfd92671f5d7 (patch)
tree6af0834346851bc544b8abf0ba0537d091610acc
parent7be88d2ad8509c2ef6710d564ac726e02e121249 (diff)
downloadmtk-20170518-b4ecf522cdec0a3888312f0b2fa1bfd92671f5d7.zip
mtk-20170518-b4ecf522cdec0a3888312f0b2fa1bfd92671f5d7.tar.gz
mtk-20170518-b4ecf522cdec0a3888312f0b2fa1bfd92671f5d7.tar.bz2
brcm47xx: ssb: recognize ARM Cortex M3
SVN-Revision: 31788
-rw-r--r--target/linux/brcm47xx/patches-3.3/232-ssb-recognise-ARM-Cortex-M3.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/patches-3.3/232-ssb-recognise-ARM-Cortex-M3.patch b/target/linux/brcm47xx/patches-3.3/232-ssb-recognise-ARM-Cortex-M3.patch
new file mode 100644
index 0000000..a2b01f4
--- /dev/null
+++ b/target/linux/brcm47xx/patches-3.3/232-ssb-recognise-ARM-Cortex-M3.patch
@@ -0,0 +1,21 @@
+--- a/drivers/ssb/scan.c
++++ b/drivers/ssb/scan.c
+@@ -90,6 +90,8 @@ const char *ssb_core_name(u16 coreid)
+ return "ARM 1176";
+ case SSB_DEV_ARM_7TDMI:
+ return "ARM 7TDMI";
++ case SSB_DEV_ARM_CM3:
++ return "ARM Cortex M3";
+ }
+ return "UNKNOWN";
+ }
+--- a/include/linux/ssb/ssb.h
++++ b/include/linux/ssb/ssb.h
+@@ -243,6 +243,7 @@ struct ssb_bus_ops {
+ #define SSB_DEV_MINI_MACPHY 0x823
+ #define SSB_DEV_ARM_1176 0x824
+ #define SSB_DEV_ARM_7TDMI 0x825
++#define SSB_DEV_ARM_CM3 0x82A
+
+ /* Vendor-ID values */
+ #define SSB_VENDOR_BROADCOM 0x4243