diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2015-10-10 13:20:32 +0200 |
---|---|---|
committer | Vladimir Serbinenko <phcoder@gmail.com> | 2015-10-11 15:01:05 +0000 |
commit | fb69a69fce13d1a40d7ef1cb16a85586c6aabd1b (patch) | |
tree | cbf4729ce926b21273b9efec17e4451d393d21b0 /util/inteltool/inteltool.h | |
parent | cd19f7d867d50c98ba0f6c5c63db087932111a53 (diff) |
inteltool: Add function to generate SPD dump.
E.g. on my MacbookAir to generate spd.bin to be used
with coreboot I do:
./inteltool -S spd.bin
Change-Id: If165475ed3e1f3262a8926ef619128d25b1e2896
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/11847
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
Diffstat (limited to 'util/inteltool/inteltool.h')
-rw-r--r-- | util/inteltool/inteltool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/inteltool/inteltool.h b/util/inteltool/inteltool.h index cff0fd99ce..dffe204d37 100644 --- a/util/inteltool/inteltool.h +++ b/util/inteltool/inteltool.h @@ -204,7 +204,7 @@ void unmap_physical(void *virt_addr, size_t len); unsigned int cpuid(unsigned int op); int print_intel_core_msrs(void); -int print_mchbar(struct pci_dev *nb, struct pci_access *pacc); +int print_mchbar(struct pci_dev *nb, struct pci_access *pacc, const char *dump_spd_file); int print_pmbase(struct pci_dev *sb, struct pci_access *pacc); int print_rcba(struct pci_dev *sb); int print_gpios(struct pci_dev *sb, int show_all, int show_diffs); @@ -214,4 +214,4 @@ int print_pciexbar(struct pci_dev *nb); int print_ambs(struct pci_dev *nb, struct pci_access *pacc); int print_spi(struct pci_dev *sb); int print_gfx(struct pci_dev *gfx); -void ivybridge_dump_timings(void); +void ivybridge_dump_timings(const char *dump_spd_file); |