util/inteltool: Add Apollo Lake LPC ID and allow to read PCRs
commit94473afcd29e0f261c54bf2c6a6fc2619d51150b
authorNico Huber <nico.huber@secunet.com>
Tue, 20 Nov 2018 11:10:29 +0000 (20 12:10 +0100)
committerNico Huber <nico.h@gmx.de>
Thu, 29 Nov 2018 21:03:24 +0000 (29 21:03 +0000)
tree6c7c6b48abcd4699e4c09d2d646b71196ae5cea6
parentb59da487e19dc5d8b9426797ce09453a614f32c5
util/inteltool: Add Apollo Lake LPC ID and allow to read PCRs

The P2SB (PCI to Side-Band) bridge is on a different PCI device on APL.
Hence, we have to decide based on the LPC ID which device to query.

Also fix a comment.

Change-Id: Ie20d7d2d246629d085bcf4740ba28b1e81e6a12a
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/c/29896
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
util/inteltool/inteltool.c
util/inteltool/inteltool.h
util/inteltool/pcr.c