projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added framework for chip detection on the ifxmips
[openwrt/svn-archive/archive.git]
/
target
/
linux
/
ifxmips
/
files
/
include
/
asm-mips
/
ifxmips
/
ifxmips.h
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 21d72a2b9e7acb85b46dde6ad75607bf3511d22b..cedab2c99552f0caa08e218677ee7e56136bd88b 100644
(file)
--- 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