soc/broadwell/acpi.c: Fix unresolvable symbol '\DNVS'
commit80f95b5214fd716bb146f795a0dd3921c088280e
authorMatt DeVillier <matt.devillier@gmail.com>
Mon, 13 Sep 2021 22:53:05 +0000 (13 17:53 -0500)
committerFelix Held <felix-coreboot@felixheld.de>
Wed, 15 Sep 2021 15:28:57 +0000 (15 15:28 +0000)
treed6c3954518f32c6cc50140a739ac026e975daac9
parent7e45bb1a1207e414ccaee59ab736ade751644c4a
soc/broadwell/acpi.c: Fix unresolvable symbol '\DNVS'

Fixes:
27c51a0 ("Revert "soc/intel/broadwell/pch: Replace ACPI device NVS"")

which reverted the removal of device NVS, but was not boot tested on any
Broadwell Chromebooks. It was recently discovered that the DNVS
object was not being loaded, due to a weak function setting the size
as zero not being defined for the platform/soc. Add the missing
overloaded function and required headers.

Test: build/boot google/auron variants LULU ans SAMUS, verify
touchpad functional and no ACPI errors in kernel boot log.

Change-Id: Icd317d117dbb068bb6da80fe56c06c0267c7b2ae
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57630
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
src/soc/intel/broadwell/acpi.c