summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2019-05-28 10:04:20 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-06-21 08:43:03 +0000
commit4c0d5cbb87df54897601d1b19dd5d2f7f4907eb4 (patch)
treedadd8c04ac3905cd65a840697ecd29044f4d5b22 /src/mainboard/lenovo
parent04326aabcdccabf83064d585758c6d635b9f1a3b (diff)
mb/*/{x201,packardbell}: Remove unused C-state generation functions
Those are copied from Lenovo X60 code, but are unused. NOTE: No ACPI C-state are generated on this platform but Linux has a separate driver for that. Change-Id: Ie9b49f5451d8cde9c36672cac1f0f14cb3f0095e Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33140 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r--src/mainboard/lenovo/x201/mainboard.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/mainboard/lenovo/x201/mainboard.c b/src/mainboard/lenovo/x201/mainboard.c
index 0e20afe610..01dba57c30 100644
--- a/src/mainboard/lenovo/x201/mainboard.c
+++ b/src/mainboard/lenovo/x201/mainboard.c
@@ -28,19 +28,6 @@
#include <cpu/x86/lapic.h>
#include <device/pci_ops.h>
#include <drivers/lenovo/lenovo.h>
-#include <arch/acpigen.h>
-
-static acpi_cstate_t cst_entries[] = {
- {1, 1, 1000, {0x7f, 1, 2, 0, 1, 0} },
- {2, 1, 500, {0x01, 8, 0, 0, DEFAULT_PMBASE + LV2, 0} },
- {2, 17, 250, {0x01, 8, 0, 0, DEFAULT_PMBASE + LV3, 0} },
-};
-
-int get_cst_entries(acpi_cstate_t **entries)
-{
- *entries = cst_entries;
- return ARRAY_SIZE(cst_entries);
-}
static void mainboard_init(struct device *dev)
{