wtm2/samus: fix coreboot compilation error with tpmp removed
Since CL:226662, all TPMP accessing should be removed as well, else it will cause wtm2 coreboot failed on build. BUG=none BRANCH=none TEST=./setup_board --board=fox_wtm2 && emerge-fox_wtm2 coreboot CQ-DEPEND=CL:226662 Change-Id: Ib25f2d32997ef82b0ebf049803f2c5002a0a3abf Signed-off-by: Stefan Reinauer <reinauer@chromium.org> Original-Commit-Id: c99456bf42544518e2a36b6e0bbfe7f4ee1b4aff Original-Change-Id: Ia0eebb1924bbb23979c880f7d05600a0cf1e4ca3 Original-Signed-off-by: Harry Pan <harry.pan@intel.com> Original-Reviewed-on: https://chromium-review.googlesource.com/232165 Original-Reviewed-by: Wei Shun Chang <wei.shun.chang@intel.com> Original-Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: http://review.coreboot.org/9477 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
256b1c397b
commit
6c220eacbd
|
@ -43,9 +43,6 @@ void acpi_create_gnvs(global_nvs_t *gnvs)
|
||||||
/* Disable USB ports in S5 */
|
/* Disable USB ports in S5 */
|
||||||
gnvs->s5u0 = 0;
|
gnvs->s5u0 = 0;
|
||||||
|
|
||||||
/* TPM Present */
|
|
||||||
gnvs->tpmp = 1;
|
|
||||||
|
|
||||||
gnvs->tmps = TEMPERATURE_SENSOR_ID;
|
gnvs->tmps = TEMPERATURE_SENSOR_ID;
|
||||||
gnvs->tcrt = CRITICAL_TEMPERATURE;
|
gnvs->tcrt = CRITICAL_TEMPERATURE;
|
||||||
gnvs->tpsv = PASSIVE_TEMPERATURE;
|
gnvs->tpsv = PASSIVE_TEMPERATURE;
|
||||||
|
|
|
@ -43,9 +43,6 @@ void acpi_create_gnvs(global_nvs_t *gnvs)
|
||||||
/* Disable USB ports in S5 */
|
/* Disable USB ports in S5 */
|
||||||
gnvs->s5u0 = 0;
|
gnvs->s5u0 = 0;
|
||||||
|
|
||||||
/* TPM Present */
|
|
||||||
gnvs->tpmp = 1;
|
|
||||||
|
|
||||||
gnvs->tcrt = CRITICAL_TEMPERATURE;
|
gnvs->tcrt = CRITICAL_TEMPERATURE;
|
||||||
gnvs->tpsv = PASSIVE_TEMPERATURE;
|
gnvs->tpsv = PASSIVE_TEMPERATURE;
|
||||||
gnvs->tmax = MAX_TEMPERATURE;
|
gnvs->tmax = MAX_TEMPERATURE;
|
||||||
|
|
Loading…
Reference in New Issue