diff options
author | Tim Chu <Tim.Chu@quantatw.com> | 2020-12-14 21:44:40 -0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-02-05 09:41:21 +0000 |
commit | 40d45996d8efd3646d1b6dac7ae2d7d578eeb6f4 (patch) | |
tree | e866deb955c772fd1e5da1fb779a634c39e92cd2 /tests | |
parent | 9853e42a8e2d9ee4f9a9a4757409ecfe7c4fbf96 (diff) |
arch/x86/smbios: Correct SMBIOS type 4 max speed
Now smbios type 4 max speed field will use the maximum speed of
processor itself if CPUID value can be accessed. However, this field
should be the maximum processor speed supported by the system. Here
we use smbios_cpu_get_max_speed_mhz only to get correct value.
Tested=Execute "dmidecode -t 4" to check max speed is correct.
Signed-off-by: Tim Chu <Tim.Chu@quantatw.com>
Change-Id: Iae8e01a5e455709a57d60a840f279685c8aab80f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48636
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions