summaryrefslogtreecommitdiff
path: root/config/coreboot/default/patches/0036-ec-lenovo-pmh7-Add-CFR-objects-for-existing-options.patch
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-07-14 11:18:42 +0100
committerLeah Rowe <leah@libreboot.org>2025-07-14 11:26:58 +0100
commitcc2f08e7bbf9fc32bdd37079ee93b477ef4e8d09 (patch)
tree3283ed01c1d2cdedf255257cbcf0849e24f54566 /config/coreboot/default/patches/0036-ec-lenovo-pmh7-Add-CFR-objects-for-existing-options.patch
parent32dfdfbb01b84bb9c058e9b84305f15a14d4e231 (diff)
Revert "coreboot: rev 8b52167a9f 13 July 2025, rebase t480"HEADmaster
This reverts commit 32dfdfbb01b84bb9c058e9b84305f15a14d4e231. The update caused an issue on T480: Backlight comes on, then off, then on, then off, repeatedly, and never gets to the payload. Will have to investigate further. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/coreboot/default/patches/0036-ec-lenovo-pmh7-Add-CFR-objects-for-existing-options.patch')
-rw-r--r--config/coreboot/default/patches/0036-ec-lenovo-pmh7-Add-CFR-objects-for-existing-options.patch62
1 files changed, 0 insertions, 62 deletions
diff --git a/config/coreboot/default/patches/0036-ec-lenovo-pmh7-Add-CFR-objects-for-existing-options.patch b/config/coreboot/default/patches/0036-ec-lenovo-pmh7-Add-CFR-objects-for-existing-options.patch
deleted file mode 100644
index f010c7ae..00000000
--- a/config/coreboot/default/patches/0036-ec-lenovo-pmh7-Add-CFR-objects-for-existing-options.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-From 93e574a0a913b2d982d10aab50f372f59e41ba8c Mon Sep 17 00:00:00 2001
-From: Matt DeVillier <matt.devillier@gmail.com>
-Date: Fri, 11 Jul 2025 16:09:08 -0500
-Subject: [PATCH 36/43] ec/lenovo/pmh7: Add CFR objects for existing options
-
-Add a header with CFR objects for existing configuration options,
-so that supported boards can make use of them without duplication.
-
-TEST=build/boot lenovo/t480 w/edk2 payload
-
-Change-Id: I8f5c335a8b9d1697b77b3c3542bd96f98583dbf6
-Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
----
- src/ec/lenovo/pmh7/cfr.h | 36 ++++++++++++++++++++++++++++++++++++
- 1 file changed, 36 insertions(+)
- create mode 100644 src/ec/lenovo/pmh7/cfr.h
-
-diff --git a/src/ec/lenovo/pmh7/cfr.h b/src/ec/lenovo/pmh7/cfr.h
-new file mode 100644
-index 0000000000..329fb56a3e
---- /dev/null
-+++ b/src/ec/lenovo/pmh7/cfr.h
-@@ -0,0 +1,36 @@
-+/* SPDX-License-Identifier: GPL-2.0-only */
-+
-+/*
-+ * CFR enums and structs for Lenovo PMH7 EC
-+ */
-+
-+#ifndef _LENOVO_PMH7_CFR_H_
-+#define _LENOVO_PMH7_CFR_H_
-+
-+#include <drivers/option/cfr_frontend.h>
-+
-+/* Touchpad */
-+static const struct sm_object touchpad = SM_DECLARE_ENUM({
-+ .opt_name = "touchpad",
-+ .ui_name = "Touchpad",
-+ .ui_helptext = "Enable or disable the touchpad",
-+ .default_value = 1,
-+ .values = (const struct sm_enum_value[]) {
-+ { "Disabled", 0 },
-+ { "Enabled", 1 },
-+ SM_ENUM_VALUE_END },
-+});
-+
-+/* Trackpoint */
-+static const struct sm_object trackpoint = SM_DECLARE_ENUM({
-+ .opt_name = "trackpoint",
-+ .ui_name = "Trackpoint",
-+ .ui_helptext = "Enable or disable the trackpoint",
-+ .default_value = 1,
-+ .values = (const struct sm_enum_value[]) {
-+ { "Disabled", 0 },
-+ { "Enabled", 1 },
-+ SM_ENUM_VALUE_END },
-+});
-+
-+#endif /* _LENOVO_PMH7_CFR_H_ */
---
-2.39.5
-