diff options
author | Andrey Petrov <anpetrov@fb.com> | 2019-10-23 15:31:51 -0700 |
---|---|---|
committer | Andrey Petrov <anpetrov@fb.com> | 2019-10-28 18:27:24 +0000 |
commit | 2e032f07df0d4ff5c1d9814b82ed32820cb0ee59 (patch) | |
tree | a97ffca5f06e540ffc9abe8cf758cb545bedeb01 /src/device/dram | |
parent | b8eaa6a5848d8d055a9b124b1b49e9dd774e7611 (diff) |
arch/x86: Populate more fields in SMBIOS type 4
If CPUID leaf 0x16 is available (Skylake and later) use it to obtain
current and maximum speed. Otherwise call weak function that can be
provided elsewhere (cpu/soc/mainboard). Also, populate "core enabled"
with the same value as "core count".
TEST=tested on OCP Monolake with dmidecode -t processor
Change-Id: Ie5d88dacae6623dfa0ceb3ca1bb5eeff2adda103
Signed-off-by: Andrey Petrov <anpetrov@fb.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36283
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: David Hendricks <david.hendricks@gmail.com>
Diffstat (limited to 'src/device/dram')
0 files changed, 0 insertions, 0 deletions