summaryrefslogtreecommitdiff
path: root/src/drivers/ocp
diff options
context:
space:
mode:
authorZheng Bao <fishbaozi@gmail.com>2022-08-25 17:11:38 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-09-14 20:24:00 +0000
commit62cd5e86031415843b8a0429ec05cca11b528902 (patch)
tree311c3156eeb93225504e6e0033cab5e9bb655539 /src/drivers/ocp
parent41a8043bdf394e3420f79dd421486f137d899d55 (diff)
soc/amd: Recalculate the field power in PSS table entry
Being divided by 1000 causes data loss and the loss is expand by muliplication. So we just set a lower divisor before muliplication. BUG=b:185922528 Change-Id: Ib43103cc62c18debea3fd2c23d9c30fb0ecd781b Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/67050 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/drivers/ocp')
0 files changed, 0 insertions, 0 deletions