diff options
author | Youness Alaoui <youness.alaoui@puri.sm> | 2018-03-13 16:58:52 -0400 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2018-06-11 20:55:06 +0000 |
commit | d8214d7e0e3083de30f269d720ab816736ed79eb (patch) | |
tree | b2efbbe9faa7388e89a3b71bd99cfa3080a76e8e /util/inteltool/pcr.h | |
parent | cfd8929ac610f5e7ca14b92cd617270d800319f2 (diff) |
inteltool: Add dumping of full PCR ports
SoCs from Skylake on have many settings as so called private con-
figuration registers (PCRs). These are organized as 256 ports with
a 64KiB space each. We use the Primary to Sideband (P2SB) bridge's
BAR to access them.
Change-Id: Iede4ac601355e2be377bc986d62d20098980ec35
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/19593
Reviewed-by: Youness Alaoui <snifikino@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/inteltool/pcr.h')
-rw-r--r-- | util/inteltool/pcr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/inteltool/pcr.h b/util/inteltool/pcr.h index 601cfb6874..4c272ff3a4 100644 --- a/util/inteltool/pcr.h +++ b/util/inteltool/pcr.h @@ -24,6 +24,8 @@ uint32_t read_pcr32(uint8_t port, uint16_t offset); +void print_pcr_ports(struct pci_dev *sb, const uint8_t *ports, size_t count); + void pcr_init(struct pci_dev *sb); void pcr_cleanup(void); |