UPSTREAM: 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

BUG=None
BRANCH=None
TEST=None

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>

Change-Id: Id149ad645dfe5ed999a65d10e786e17585abc477
Reviewed-on: https://chromium-review.googlesource.com/420834
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
Matt DeVillier 2016-01-08 17:22:09 -08:00 committed by chrome-bot
commit 9992321447

View file

@ -599,7 +599,6 @@ static void southcluster_inject_dsdt(device_t device)
}
if (gnvs) {
memset(gnvs, 0, sizeof(*gnvs));
acpi_create_gnvs(gnvs);
acpi_save_gnvs((unsigned long)gnvs);
/* And tell SMI about it */