From cc2f08e7bbf9fc32bdd37079ee93b477ef4e8d09 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 14 Jul 2025 11:18:42 +0100 Subject: Revert "coreboot: rev 8b52167a9f 13 July 2025, rebase t480" 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 --- ...pmh7-Add-CFR-objects-for-existing-options.patch | 62 ---------------------- 1 file changed, 62 deletions(-) delete mode 100644 config/coreboot/default/patches/0036-ec-lenovo-pmh7-Add-CFR-objects-for-existing-options.patch (limited to 'config/coreboot/default/patches/0036-ec-lenovo-pmh7-Add-CFR-objects-for-existing-options.patch') 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 -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 ---- - 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 -+ -+/* 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 - -- cgit v1.2.1