summaryrefslogtreecommitdiff
path: root/chip/lm4/registers.h
diff options
context:
space:
mode:
authorLouis Yung-Chieh Lo <yjlou@chromium.org>2012-04-02 17:23:41 +0800
committerLouis Yung-Chieh Lo <yjlou@chromium.org>2012-04-09 14:25:30 +0800
commit1a9a415cf68c6e8e3b31972c072c81ed886290ab (patch)
tree57ecc7a0ae746e6cd45808d11bc5e51493af963f /chip/lm4/registers.h
parent9936df2b8b1cf697357123756d8eb09a0db09428 (diff)
downloadchrome-ec-1a9a415cf68c6e8e3b31972c072c81ed886290ab.tar.gz
Support chipinfo command (ectool/host commands)
Add a host command returning chip information. The interface is in common/ while the implementations are in chip-specific code (note: added simple value for stm). BUG=chrome-os-partner:8567 TEST=on board % ectool chipinfo Chip info: vendor: xx name: yyyy revision: zzzzz Change-Id: I5030a03a6fcfbfc080d5acd8efb763fde7eefde5
Diffstat (limited to 'chip/lm4/registers.h')
-rw-r--r--chip/lm4/registers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chip/lm4/registers.h b/chip/lm4/registers.h
index 6f3843afd2..a572e763ed 100644
--- a/chip/lm4/registers.h
+++ b/chip/lm4/registers.h
@@ -185,6 +185,8 @@ static inline int lm4_fan_addr(int ch, int offset)
#define LM4_FLASH_FMPPE2 LM4REG(0x400fe408)
#define LM4_FLASH_FMPPE3 LM4REG(0x400fe40c)
+#define LM4_SYSTEM_DID0 LM4REG(0x400fe000)
+#define LM4_SYSTEM_DID1 LM4REG(0x400fe004)
#define LM4_SYSTEM_RIS LM4REG(0x400fe050)
#define LM4_SYSTEM_MISC LM4REG(0x400fe058)
#define LM4_SYSTEM_RESC LM4REG(0x400fe05c)