amd/mendocino: Control DPTC with only Kconfig
commit53ba14de1eef0a9106ea2752f33b702b46f99445
authorTim Van Patten <timvp@google.com>
Tue, 13 Sep 2022 21:42:01 +0000 (13 15:42 -0600)
committerFelix Held <felix-coreboot@felixheld.de>
Thu, 15 Sep 2022 17:58:50 +0000 (15 17:58 +0000)
treeed08e91c6c9bcc36eaba390c97651152605cd326
parent9eac09720555f22cf5374665e395525c7afa218e
amd/mendocino: Control DPTC with only Kconfig

SOC_AMD_COMMON_BLOCK_ACPI_DPTC can be enabled conditionally for any
skyrim boards, similar to mainboard/google/zork/Kconfig. This makes the
value dptc_tablet_mode_enable redundant.

This CL removes dptc_tablet_mode_enable so DPTC is controlled entirely
with the Kconfig value SOC_AMD_COMMON_BLOCK_ACPI_DPTC. This means DPTC
is only included for boards that actually enable it.

BRANCH=none
BUG=b:217911928
TEST=emerge-skyrim coreboot

Signed-off-by: Tim Van Patten <timvp@google.com>
Change-Id: I73fca5a16826313219247f452d37fb526ad4f4df
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67639
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
src/soc/amd/mendocino/chip.h
src/soc/amd/mendocino/root_complex.c