coreboot/src/arch/x86
Rob Barnes 327f1058d2 memory_info: add max_speed_mts and configured_speed_mts
ddr_frequency is ambiguous and is interpreted differently in several
places. Instead of renaming this field, this deprecates it and adds
two new fields with unambiguous naming, max_speed_mts and
configured_speed_mts. smbios.c falls back to using ddr_frequency
when either of these fields are 0.

The same value was being used for both configured memory speed and
max memory speed in SMBIOS type 17, which is not accurate when
configured speed is not the max speed.

BUG=b:167218112
TEST=Boot ezkinil, no change to dmidecode -t17

Change-Id: Iaa75401f9fc33642dbdce6c69bd9b20f96d1cc25
Signed-off-by: Rob Barnes <robbarnes@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44549
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-09-03 21:27:54 +00:00
..
acpi ACPI: Drop commented-out DSDT DefinitionBlock instances 2020-07-09 23:55:06 +00:00
include src/arch: Drop unneeded empty lines 2020-08-24 09:16:19 +00:00
acpi.c src: Make HAVE_CF9_RESET set the FADT reset register 2020-07-20 13:23:13 +00:00
acpi_bert_storage.c src: Remove unused 'include <bootstate.h>' 2020-06-02 07:40:35 +00:00
acpi_s3.c ACPI S3: Clean up resume path 2020-07-28 10:37:28 +00:00
assembly_entry.S arch/x86/gdt: Work around assembler bug 2020-08-21 16:01:42 +00:00
boot.c arch/x86/boot: Jump to payload in protected mode 2020-08-19 09:06:43 +00:00
bootblock_crt0.S arch/x86: Remove more romcc leftovers 2020-05-28 09:50:52 +00:00
bootblock_normal.c src: Remove unused 'include <string.h>' 2020-05-18 07:41:24 +00:00
c_exit.S arch/x86/boot: Jump to payload in protected mode 2020-08-19 09:06:43 +00:00
c_start.S lib: Add ASan support to ramstage on x86 arch 2020-08-21 07:37:52 +00:00
car.ld lib: Add ASan support to romstage on x86 arch 2020-08-21 07:41:19 +00:00
cf9_reset.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
cpu.c src/arch: Drop unneeded empty lines 2020-08-24 09:16:19 +00:00
cpu_common.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
ebda.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
exception.c src/arch: Drop unneeded empty lines 2020-08-24 09:16:19 +00:00
exit_car.S arch/x86/exit_car.S: Fix checking clflush support 2020-08-31 06:45:35 +00:00
gdt_init.S arch/x86/gdt: Work around assembler bug 2020-08-21 16:01:42 +00:00
id.ld arch/x86: Fix id section in linker script 2020-05-28 09:51:46 +00:00
id.S treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
idt.S arch/x86: Support x86_64 exceptions 2020-07-05 19:56:09 +00:00
ioapic.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
Kconfig arch/x86: Select HAVE_ASAN_IN_RAMSTAGE 2020-08-21 07:44:19 +00:00
Makefile.inc arch/x86/boot: Jump to payload in protected mode 2020-08-19 09:06:43 +00:00
memcpy.c arch/x86: Add support for ASan to memory functions 2020-08-21 07:46:04 +00:00
memlayout.ld arch/x86: Remove RELOCATABLE_RAMSTAGE 2020-07-06 06:17:47 +00:00
memmove.c arch/x86: Add support for ASan to memory functions 2020-08-21 07:46:04 +00:00
memset.c arch/x86: Add support for ASan to memory functions 2020-08-21 07:46:04 +00:00
mmap_boot.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
mpspec.c arch/x86/mpspec.c: Drop dead code 2020-07-12 19:31:21 +00:00
pirq_routing.c src/arch: Drop unneeded empty lines 2020-08-24 09:16:19 +00:00
post.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
postcar.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
postcar_loader.c arch/x86/postcar_loader: Remove unused 'include <cpu/cpu.h>' 2020-07-14 16:15:28 +00:00
rdrand.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
smbios.c memory_info: add max_speed_mts and configured_speed_mts 2020-09-03 21:27:54 +00:00
smbios_defaults.c arch/x86/smbios.c: Split out weak functions 2020-07-30 22:47:39 +00:00
tables.c src: Remove unused 'include <bootstate.h>' 2020-06-02 07:40:35 +00:00
thread.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
thread_switch.S treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
timestamp.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
timestamp.inc treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
verstage.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
wakeup.S treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
walkcbfs.S arch/x86/walkcbfs.S: Mark code as x86_32 2020-08-24 07:05:33 +00:00