diff options
author | Louis Yung-Chieh Lo <yjlou@chromium.org> | 2012-04-02 17:23:41 +0800 |
---|---|---|
committer | Louis Yung-Chieh Lo <yjlou@chromium.org> | 2012-04-09 14:25:30 +0800 |
commit | 1a9a415cf68c6e8e3b31972c072c81ed886290ab (patch) | |
tree | 57ecc7a0ae746e6cd45808d11bc5e51493af963f /chip/lm4/registers.h | |
parent | 9936df2b8b1cf697357123756d8eb09a0db09428 (diff) | |
download | chrome-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.h | 2 |
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) |