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>
This commit is contained in:
parent
2e5f1f7e94
commit
2450a7e724
|
@ -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->cmap = 0x01; /* Enable COM 1 port */
|
||||
}
|
||||
|
|
|
@ -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->osys = 2002; /* At least WINXP SP2 (HPET fix) */
|
||||
gnvs->apic = 1; /* Enable APIC */
|
||||
|
|
|
@ -17,8 +17,6 @@
|
|||
|
||||
void acpi_create_gnvs(global_nvs_t *gnvs)
|
||||
{
|
||||
memset((void *)gnvs, 0, sizeof(*gnvs));
|
||||
|
||||
gnvs->pwrs = 1; /* Power state (AC = 1) */
|
||||
gnvs->osys = 2002; /* At least WINXP SP2 (HPET fix) */
|
||||
gnvs->apic = 1; /* Enable APIC */
|
||||
|
|
|
@ -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->cmap = 0x01; /* Enable COM 1 port */
|
||||
}
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
|
||||
void acpi_create_gnvs(global_nvs_t *gnvs)
|
||||
{
|
||||
memset((void *)gnvs, 0, sizeof(*gnvs));
|
||||
gnvs->apic = 1;
|
||||
gnvs->mpen = 1; /* Enable Multi Processing */
|
||||
|
||||
|
|
|
@ -21,8 +21,6 @@
|
|||
|
||||
void acpi_create_gnvs(global_nvs_t *gnvs)
|
||||
{
|
||||
memset((void *)gnvs, 0, sizeof(*gnvs));
|
||||
|
||||
gnvs->pwrs = 1; /* Power state (AC = 1) */
|
||||
gnvs->cmap = 1; /* COM 1 port */
|
||||
gnvs->cmap = 1; /* COM 2 port */
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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->cmap = 0x01; /* Enable COM 1 port */
|
||||
}
|
||||
|
|
|
@ -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->osys = 2002; /* At least WINXP SP2 (HPET fix) */
|
||||
gnvs->apic = 1; /* Enable APIC */
|
||||
|
|
|
@ -23,14 +23,12 @@
|
|||
|
||||
void acpi_create_gnvs(global_nvs_t *gnvs)
|
||||
{
|
||||
memset((void *)gnvs, 0, sizeof(*gnvs));
|
||||
gnvs->apic = 1;
|
||||
gnvs->mpen = 1; /* Enable Multi Processing */
|
||||
|
||||
/* Enable both COM ports */
|
||||
gnvs->cmap = 0x01;
|
||||
gnvs->cmbp = 0x01;
|
||||
|
||||
}
|
||||
|
||||
unsigned long acpi_fill_madt(unsigned long current)
|
||||
|
|
Loading…
Reference in New Issue