From 572f07497104e1f9c4e1ed0fd01850a9e2a4803f Mon Sep 17 00:00:00 2001 From: Stefan Tauner Date: Thu, 5 May 2016 17:29:39 +0200 Subject: inteltool: update documentation - manpage - usage message - new warning message if -S is used on an unsupported chipset Change-Id: I1acaa5f4232b65244ec00fd22ec7460d9cc387f1 Signed-off-by: Stefan Tauner Reviewed-on: https://review.coreboot.org/14624 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth Reviewed-by: Felix Held --- util/inteltool/memory.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'util/inteltool/memory.c') diff --git a/util/inteltool/memory.c b/util/inteltool/memory.c index 5f047297ed..686c1e7ae1 100644 --- a/util/inteltool/memory.c +++ b/util/inteltool/memory.c @@ -253,6 +253,8 @@ int print_mchbar(struct pci_dev *nb, struct pci_access *pacc, const char *dump_s case PCI_DEVICE_ID_INTEL_CORE_1ST_GEN: printf ("clock_speed_index = %x\n", read_500 (0,0x609, 6) >> 1); dump_timings (); + if (dump_spd_file != NULL) + printf("\nCreating a memory timings file is not supported on this chipset.\n"); break; case PCI_DEVICE_ID_INTEL_CORE_2ND_GEN_D: case PCI_DEVICE_ID_INTEL_CORE_2ND_GEN_M: @@ -263,6 +265,9 @@ int print_mchbar(struct pci_dev *nb, struct pci_access *pacc, const char *dump_s case PCI_DEVICE_ID_INTEL_CORE_3RD_GEN_015c: ivybridge_dump_timings(dump_spd_file); break; + default: + if (dump_spd_file != NULL) + printf("\nCreating a memory timings file is not supported on this chipset.\n"); } unmap_physical((void *)mchbar, size); return 0; -- cgit v1.2.3