diff options
author | John Crispin <john@openwrt.org> | 2007-12-25 13:11:07 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2007-12-25 13:11:07 +0000 |
commit | 8c487df2463efbacdaf7ec355b116fe4d12346ff (patch) | |
tree | bc3a5208e4f5cfcc3378a7084e64565249025192 /target/linux/ifxmips/files/include/asm-mips | |
parent | 1263078f40ca60551d984becdd16a7eb2ddeec50 (diff) | |
download | upstream-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.h | 6 |
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 |