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>
This commit is contained in:
Kevin K Wong
2016-05-03 14:00:01 -07:00
committed by chrome-bot
parent 32bf8ecb77
commit 25a4f355e8

View File

@@ -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);