summaryrefslogtreecommitdiff
path: root/util/inteltool/rootcmplx.c
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2019-07-14 23:04:05 +0800
committerIru Cai <mytbk920423@gmail.com>2020-05-13 22:19:32 +0800
commit120d1fb812f1fb3f52949b612c81ace5c72c42cc (patch)
tree451e7b5366d3b30d6b78863e332b0de8a2dd27d0 /util/inteltool/rootcmplx.c
parentb7e37fd69e0adfec24d90b97d17dc1f42ab9aae8 (diff)
downloadcoreboot-120d1fb812f1fb3f52949b612c81ace5c72c42cc.tar.xz
inteltool: Support dumping IOBP register valuesautoport-hsw
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 <mytbk920423@gmail.com>
Diffstat (limited to 'util/inteltool/rootcmplx.c')
-rw-r--r--util/inteltool/rootcmplx.c2
1 files changed, 2 insertions, 0 deletions
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;
}