diff options
author | Peter Lemenkov <lemenkov@gmail.com> | 2019-12-26 21:02:24 +0300 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-12-31 15:21:11 +0000 |
commit | 2450a7e72475fb98c3fa9d643cbc00f74f688fde (patch) | |
tree | b2baba9391727c00b56366a69c740df1aabd6fc9 /src/mainboard/gigabyte | |
parent | 2e5f1f7e9400c5187a176958a7babd424eb158ba (diff) | |
download | coreboot-2450a7e72475fb98c3fa9d643cbc00f74f688fde.tar.xz |
mb/*/*/acpi_tables: Don't zero out gnvs again
The gnvs structure was zeroed out before calling acpi_create_gnvs(...)
in the following files:
* src/southbridge/intel/*/lpc.c
Change-Id: Id7755b1e4b8f5cb8abd1f411b5dc174b6beee21c
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37956
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/gigabyte')
-rw-r--r-- | src/mainboard/gigabyte/ga-b75m-d3h/acpi_tables.c | 2 | ||||
-rw-r--r-- | src/mainboard/gigabyte/ga-g41m-es2l/acpi_tables.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/mainboard/gigabyte/ga-b75m-d3h/acpi_tables.c b/src/mainboard/gigabyte/ga-b75m-d3h/acpi_tables.c index a992e24072..59eb25a40f 100644 --- a/src/mainboard/gigabyte/ga-b75m-d3h/acpi_tables.c +++ b/src/mainboard/gigabyte/ga-b75m-d3h/acpi_tables.c @@ -19,8 +19,6 @@ void acpi_create_gnvs(global_nvs_t *gnvs) { - memset((void *)gnvs, 0, sizeof(*gnvs)); - /* Disable USB ports in S3 by default */ gnvs->s3u0 = 0; gnvs->s3u1 = 0; diff --git a/src/mainboard/gigabyte/ga-g41m-es2l/acpi_tables.c b/src/mainboard/gigabyte/ga-g41m-es2l/acpi_tables.c index cab4ee253c..6a1730473b 100644 --- a/src/mainboard/gigabyte/ga-g41m-es2l/acpi_tables.c +++ b/src/mainboard/gigabyte/ga-g41m-es2l/acpi_tables.c @@ -20,8 +20,6 @@ void acpi_create_gnvs(global_nvs_t *gnvs) { - memset((void *)gnvs, 0, sizeof(*gnvs)); - gnvs->pwrs = 1; /* Power state (AC = 1) */ gnvs->lptp = 0; /* LPT port */ gnvs->fdcp = 0; /* Floppy Disk Controller */ |