From 447472ec540babec8650938d2f21959885b9e53c Mon Sep 17 00:00:00 2001 From: Sumeet R Pawnikar Date: Wed, 3 Jun 2020 16:07:21 +0530 Subject: [PATCH] soc/intel: remove unused dptf.asl file and other defines Remove unused cannonlake dptf.asl file and cleanup defines from apollolake dptf.asl file as per soc/intel/common/acpi code changes for dptf. BUG=None BRANCH=None TEST=Build and boot on the system Change-Id: I4c8bf2bd5da9d5881e7690bff34816b19dd96072 Signed-off-by: Sumeet R Pawnikar Reviewed-on: https://review.coreboot.org/c/coreboot/+/42042 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- src/soc/intel/apollolake/acpi/dptf.asl | 29 ----------------------- src/soc/intel/cannonlake/acpi/dptf.asl | 32 -------------------------- 2 files changed, 61 deletions(-) delete mode 100644 src/soc/intel/cannonlake/acpi/dptf.asl diff --git a/src/soc/intel/apollolake/acpi/dptf.asl b/src/soc/intel/apollolake/acpi/dptf.asl index e3f94e8885..160db6e570 100644 --- a/src/soc/intel/apollolake/acpi/dptf.asl +++ b/src/soc/intel/apollolake/acpi/dptf.asl @@ -1,32 +1,3 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#define DPTF_CPU_DEVICE TCPU #define DPTF_CPU_ADDR 0x00000001 - -#ifndef DPTF_CPU_PASSIVE -#define DPTF_CPU_PASSIVE 80 -#endif - -#ifndef DPTF_CPU_CRITICAL -#define DPTF_CPU_CRITICAL 90 -#endif - -#ifndef DPTF_CPU_ACTIVE_AC0 -#define DPTF_CPU_ACTIVE_AC0 90 -#endif - -#ifndef DPTF_CPU_ACTIVE_AC1 -#define DPTF_CPU_ACTIVE_AC1 80 -#endif - -#ifndef DPTF_CPU_ACTIVE_AC2 -#define DPTF_CPU_ACTIVE_AC2 70 -#endif - -#ifndef DPTF_CPU_ACTIVE_AC3 -#define DPTF_CPU_ACTIVE_AC3 60 -#endif - -#ifndef DPTF_CPU_ACTIVE_AC4 -#define DPTF_CPU_ACTIVE_AC4 50 -#endif diff --git a/src/soc/intel/cannonlake/acpi/dptf.asl b/src/soc/intel/cannonlake/acpi/dptf.asl deleted file mode 100644 index bd6d63ef40..0000000000 --- a/src/soc/intel/cannonlake/acpi/dptf.asl +++ /dev/null @@ -1,32 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#define DPTF_CPU_DEVICE TCPU -#define DPTF_CPU_ADDR 0x00040000 - -#ifndef DPTF_CPU_PASSIVE -#define DPTF_CPU_PASSIVE 80 -#endif - -#ifndef DPTF_CPU_CRITICAL -#define DPTF_CPU_CRITICAL 90 -#endif - -#ifndef DPTF_CPU_ACTIVE_AC0 -#define DPTF_CPU_ACTIVE_AC0 90 -#endif - -#ifndef DPTF_CPU_ACTIVE_AC1 -#define DPTF_CPU_ACTIVE_AC1 80 -#endif - -#ifndef DPTF_CPU_ACTIVE_AC2 -#define DPTF_CPU_ACTIVE_AC2 70 -#endif - -#ifndef DPTF_CPU_ACTIVE_AC3 -#define DPTF_CPU_ACTIVE_AC3 60 -#endif - -#ifndef DPTF_CPU_ACTIVE_AC4 -#define DPTF_CPU_ACTIVE_AC4 50 -#endif