diff options
author | Jonathan Zhang <jonzhang@fb.com> | 2019-07-30 11:29:33 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-09-02 06:38:46 +0000 |
commit | d9a6afe1a4807c92386c5404ccb8bc9b4e91b916 (patch) | |
tree | 25d331f2a282c3bc2ed7a520104e217ae03ff833 /src/include/boot_device.h | |
parent | b5392f930d601c12db52d1f6428e1866fcfdcf86 (diff) |
mb/ocp/monolake: use VPD data to configure FSP UPD
Summary:
This patch calls monolake board specific function to query
settings stored in VPD binary blob to configure FSP UPD
variable HyperThreading.
Test Plan:
* Build an OCP MonoLake coreboot image, run following command
to initialize RW_VPD and insert HyperThreading key:
vpd -f build/coreboot.rom -O -i RW_VPD -s 'HyperThreading=0'
* Flash the image to MonoLake, boot and observe following
message in boot log:
Detected 16 CPU threads
If RW_VPD partition does not exist, or if HyperThreading
key/value pair does not exist, the boot log has:
Detected 32 CPU threads
Signed-off-by: Jonathan Zhang <jonzhang@fb.com>
Change-Id: I799d27734fe4b67cd1f40cae710151a01562b1b2
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34636
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'src/include/boot_device.h')
0 files changed, 0 insertions, 0 deletions