aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ifxmips/files/include/asm-mips
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2007-12-25 13:11:07 +0000
committerJohn Crispin <john@openwrt.org>2007-12-25 13:11:07 +0000
commit8c487df2463efbacdaf7ec355b116fe4d12346ff (patch)
treebc3a5208e4f5cfcc3378a7084e64565249025192 /target/linux/ifxmips/files/include/asm-mips
parent1263078f40ca60551d984becdd16a7eb2ddeec50 (diff)
downloadupstream-8c487df2463efbacdaf7ec355b116fe4d12346ff.tar.gz
upstream-8c487df2463efbacdaf7ec355b116fe4d12346ff.tar.bz2
upstream-8c487df2463efbacdaf7ec355b116fe4d12346ff.zip
added framework for chip detection on the ifxmips
SVN-Revision: 9925
Diffstat (limited to 'target/linux/ifxmips/files/include/asm-mips')
-rw-r--r--target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips.h b/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips.h
index 21d72a2b9e..cedab2c995 100644
--- a/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips.h
+++ b/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips.h
@@ -426,4 +426,10 @@
#define IFXMIPS_FUSE_BASE_ADDR (KSEG1 + 0x1F107354)
+/*------------ MPS */
+
+#define IFXMIPS_MPS_BASE_ADDR (KSEG1 + 0x1F107000)
+
+#define IFXMIPS_MPS_CHIPID ((u32*)(IFXMIPS_MPS_BASE_ADDR + 0x0344))
+
#endif