diff options
author | Mulin Chao <MLChao@nuvoton.com> | 2018-05-07 15:12:31 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-05-09 01:11:01 -0700 |
commit | 8c4713e4b7e64d46356ebffa6c2ae50f8cb47b7d (patch) | |
tree | dec011f96d18a5b3208d9db74b690b428df399eb /include/fpsensor.h | |
parent | e9916b94cabdb2a56c5ccd71c836acb172fa014d (diff) | |
download | chrome-ec-8c4713e4b7e64d46356ebffa6c2ae50f8cb47b7d.tar.gz |
npcx: system: Add chip generation info in system_get_chip_revision().
In npcx5 series, there is no other chip generation and npcx's system
driver fixed the first character of revision array as 'A'. But in npcx7
series, there are two chip generations and it's better to show chip
generation information by 'version' console command.
In this CL, we used SRID_CR to distinguish the generation of npcx7
series. It also adds the support for NPCX787G in system_get_chip_name()
since it is used on the version 1 of npcx7 evb.
BRANCH=none
BUG=none
TEST=No build errors for npcx5/7 series. Verified npcx5m5g, npcx7m6g and
npcx7m7wb on evbs by 'version' console command.
Change-Id: I7572b5688b4430c6febd21c25f36c3903fb97e27
Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
Reviewed-on: https://chromium-review.googlesource.com/1046689
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'include/fpsensor.h')
0 files changed, 0 insertions, 0 deletions