soc/intel/broadwell/lpc.c: don't zeroize existing gnvs table
The gnvs table only needs to be zeroized after init; zeroizing an existing/populated table renders all I2C devices completely non-functional. TEST: boot Linux and observe all I2C devices functional Change-Id: Id149ad645dfe5ed999a65d10e786e17585abc477 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/17828 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
parent
93eb8c48b6
commit
a1df15efc8
|
@ -599,7 +599,6 @@ static void southcluster_inject_dsdt(device_t device)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (gnvs) {
|
if (gnvs) {
|
||||||
memset(gnvs, 0, sizeof(*gnvs));
|
|
||||||
acpi_create_gnvs(gnvs);
|
acpi_create_gnvs(gnvs);
|
||||||
acpi_save_gnvs((unsigned long)gnvs);
|
acpi_save_gnvs((unsigned long)gnvs);
|
||||||
/* And tell SMI about it */
|
/* And tell SMI about it */
|
||||||
|
|
Loading…
Reference in New Issue