From 19e718d6f13de130351459aa598ee8c898d60461 Mon Sep 17 00:00:00 2001 From: blogic Date: Tue, 25 Dec 2007 13:11:07 +0000 Subject: added framework for chip detection on the ifxmips git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9925 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'target/linux/ifxmips/files/include') 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 -- cgit v1.2.3