summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin K Wong <kevin.k.wong@intel.com>2016-05-03 14:00:01 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-05-04 02:42:21 -0700
commit25a4f355e8d4ec67faa11241750868c721b448b5 (patch)
treec11cfc1e1b1a97a10f64de43e2667369c5b4f80a
parent32bf8ecb773e0c6da80ef06b26375742fa287704 (diff)
downloadchrome-ec-25a4f355e8d4ec67faa11241750868c721b448b5.tar.gz
npcx: add device id for npcx586g/npcx576g
BUG=none BRANCH=none TEST=version command shows the correct chip device id Change-Id: I312b343f97a99b3ff5ae7d6ec3606cff291b2b55 Signed-off-by: Kevin K Wong <kevin.k.wong@intel.com> Reviewed-on: https://chromium-review.googlesource.com/342130 Reviewed-by: David Hendricks <dhendrix@chromium.org> Reviewed-by: Mulin Chao <mlchao@nuvoton.com>
-rw-r--r--chip/npcx/system.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/chip/npcx/system.c b/chip/npcx/system.c
index 270531226a..46547ff737 100644
--- a/chip/npcx/system.c
+++ b/chip/npcx/system.c
@@ -576,6 +576,10 @@ const char *system_get_chip_name(void)
return "NPCX585G";
case 0x13:
return "NPCX575G";
+ case 0x16:
+ return "NPCX586G";
+ case 0x17:
+ return "NPCX576G";
default:
*p = system_to_hex((chip_id & 0xF0) >> 4);
*(p + 1) = system_to_hex(chip_id & 0x0F);