summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t430
diff options
context:
space:
mode:
authorPeter Lemenkov <lemenkov@gmail.com>2019-12-26 21:17:33 +0300
committerPatrick Rudolph <siro@das-labor.org>2019-12-28 09:56:50 +0000
commita76cf28279bee4359991c429fe00ccb514cc8d00 (patch)
tree72b55268fbf1e6da80e27424e1b1a8aa87af47ec /src/mainboard/lenovo/t430
parent0acfe1c8cd9a64bf1733e53898978d3853eab468 (diff)
downloadcoreboot-a76cf28279bee4359991c429fe00ccb514cc8d00.tar.xz
mb/lenovo/*/acpi_tables: Don't initialize already initialized fields
Don't initialize fields with zeroes since gnvs structs were zeroed out in southbridge already. Change-Id: I2ccf4699ba3ed3f5b9402c0340153d4a5bf82682 Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37938 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/mainboard/lenovo/t430')
-rw-r--r--src/mainboard/lenovo/t430/acpi_tables.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/mainboard/lenovo/t430/acpi_tables.c b/src/mainboard/lenovo/t430/acpi_tables.c
index 87f9c34979..ea7e52f0e8 100644
--- a/src/mainboard/lenovo/t430/acpi_tables.c
+++ b/src/mainboard/lenovo/t430/acpi_tables.c
@@ -18,22 +18,9 @@
void acpi_create_gnvs(global_nvs_t *gnvs)
{
- /* Disable USB ports in S3 by default */
- gnvs->s3u0 = 0;
- gnvs->s3u1 = 0;
-
- /* Disable USB ports in S5 by default */
- gnvs->s5u0 = 0;
- gnvs->s5u1 = 0;
-
// the lid is open by default.
gnvs->lids = 1;
- gnvs->tmps = CTDP_SENSOR_ID;
-
- gnvs->f1of = CTDP_NOMINAL_THRESHOLD_OFF;
- gnvs->f1on = CTDP_NOMINAL_THRESHOLD_ON;
-
gnvs->f0of = CTDP_DOWN_THRESHOLD_OFF;
gnvs->f0on = CTDP_DOWN_THRESHOLD_ON;