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>
This commit is contained in:
parent
ec3c41a6ee
commit
2888c80f26
|
@ -100,7 +100,7 @@ chip soc/intel/tigerlake
|
||||||
## Passive Policy
|
## Passive Policy
|
||||||
register "policies.passive" = "{
|
register "policies.passive" = "{
|
||||||
[0] = DPTF_PASSIVE(CPU,CPU,87,5000),
|
[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
|
## Critical Policy
|
||||||
register "policies.critical" = "{
|
register "policies.critical" = "{
|
||||||
|
|
Loading…
Reference in New Issue