From 2888c80f262e5a54aa421f3c524bdffc31450aa2 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Tue, 10 May 2022 18:39:33 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64240 Tested-by: build bot (Jenkins) Reviewed-by: Elyes Haouas --- src/mainboard/google/volteer/variants/eldrid/overridetree.cb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard') 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" = "{ -- cgit v1.2.3