sb/intel/bd82x6x/pch: Add method to identify PCH
commitb95ef282ff785f63ce2a74ff0140072856893687
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Sat, 4 Nov 2023 10:08:25 +0000 (4 11:08 +0100)
committerShelley Chen <shchen@google.com>
Tue, 26 Dec 2023 17:03:56 +0000 (26 17:03 +0000)
treec25cd42c3594c53ac809eb8b307fd835a1a55c7d
parentf20c355a1f7b22c8d8540318c5137e438538d63e
sb/intel/bd82x6x/pch: Add method to identify PCH

Identify PCH type by LPC device ID. This allows to identify
the PCH without including northbridge headers.

Tested: Lenovo X220 still boots.

Change-Id: Ic3e15c1d8d4b1d1012d6204cc65de92d91431fbe
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79145
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
src/southbridge/intel/bd82x6x/common.c
src/southbridge/intel/bd82x6x/pch.h