coreboot-kgpe-d16/src/superio/common
Patrick Rudolph 1ac2cc253b superio/common: Validate devicetree
As the SSDT generator for LDNs expects a "parent" PNP device
for proper ACPI code generation, validate that it is present.

Make sure the devicetree looks as expected and print a BUG message
if that's not the case.

Tested on HP Z220:
No BUG message was printed.

Change-Id: I6cbcba8ac86a2a837e23055fdd7e529f9b3277a2
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38863
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2020-02-28 16:14:38 +00:00
..
chip.h src/superio: replace license boilerplate with SPDX 2020-01-30 12:08:41 +00:00
conf_mode.c src/superio: replace license boilerplate with SPDX 2020-01-30 12:08:41 +00:00
generic.c src/superio: replace license boilerplate with SPDX 2020-01-30 12:08:41 +00:00
ssdt.c superio/common: Validate devicetree 2020-02-28 16:14:38 +00:00
ssdt.h src/superio: replace license boilerplate with SPDX 2020-01-30 12:08:41 +00:00