summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-05-10 18:39:33 +0200
committerArthur Heymans <arthur@aheymans.xyz>2022-05-14 14:19:17 +0000
commit2888c80f262e5a54aa421f3c524bdffc31450aa2 (patch)
treecf854b2dc3a769299d4279c0e2c9cac7b0fea902 /src
parentec3c41a6eecd20141431d9e1103b20395bc70594 (diff)
mb/google/eldrid: Fix use of float
Floats are not allowed in coreboot. As the compiler rounded down the value, do so in the code too as this is a known good value. Change-Id: I4e180d4cb8e0e1aa68186bfc1daffdc5c339dc64 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/64240 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/volteer/variants/eldrid/overridetree.cb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/volteer/variants/eldrid/overridetree.cb b/src/mainboard/google/volteer/variants/eldrid/overridetree.cb
index 93544182e0..9a8b58e2c8 100644
--- a/src/mainboard/google/volteer/variants/eldrid/overridetree.cb
+++ b/src/mainboard/google/volteer/variants/eldrid/overridetree.cb
@@ -100,7 +100,7 @@ chip soc/intel/tigerlake
## Passive Policy
register "policies.passive" = "{
[0] = DPTF_PASSIVE(CPU,CPU,87,5000),
- [1] = DPTF_PASSIVE(CPU,TEMP_SENSOR_2,60.8,6000)}"
+ [1] = DPTF_PASSIVE(CPU,TEMP_SENSOR_2,60,6000)}"
## Critical Policy
register "policies.critical" = "{