mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-11 18:35:28 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user