From 120d1fb812f1fb3f52949b612c81ace5c72c42cc Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Sun, 14 Jul 2019 23:04:05 +0800 Subject: inteltool: Support dumping IOBP register values Currently only LynxPoint IOBP registers are added. The SATA IOBP registers are found in coreboot sb/intel/lynxpoint, and the USB IOBP registers are found in mrc.bin. Tested with Dell Latitude E7240, which fails to read SATA_IOBP_SP*G3IR (does LynxPoint really use them?) and reads other IOBP registers successfully. Change-Id: I1f11640fdff59a5317f19057476f7e48c2956ab9 Signed-off-by: Iru Cai --- util/inteltool/rootcmplx.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util/inteltool/rootcmplx.c') diff --git a/util/inteltool/rootcmplx.c b/util/inteltool/rootcmplx.c index 490897f938..9819af528b 100644 --- a/util/inteltool/rootcmplx.c +++ b/util/inteltool/rootcmplx.c @@ -138,6 +138,8 @@ int print_rcba(struct pci_dev *sb) printf("0x%04x: 0x%08x\n", i, read32(rcba + i)); } + print_iobp(sb, rcba); + unmap_physical((void *)rcba, size); return 0; } -- cgit v1.2.3