summaryrefslogtreecommitdiff
path: root/src/mainboard/purism/librem_bdw
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@puri.sm>2020-02-11 12:38:29 -0600
committerPatrick Georgi <pgeorgi@google.com>2020-02-17 15:33:03 +0000
commit2ae9d698882dd0ce899a0008d5d0526373af407a (patch)
tree899a1f15a603d2081ea579b5383e5fe700f3528a /src/mainboard/purism/librem_bdw
parentca15430bf7d43c2ba0c0684f745f206ab5f70670 (diff)
ec/purism/librem: Add ACPI temp reporting
Add EC ACPI reporting of current temp and platform critical temp. Adapted from ACPI dump of ODM AMI firmware. TEST: check reporting of current/critical temps via lm-sensors from ACPI on Librem 13v1 and 13v4 boards. Change-Id: I92641fbbdda46e0c388607a37f7a7cc2dcd6c26d Signed-off-by: Matt DeVillier <matt.devillier@puri.sm> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38835 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/purism/librem_bdw')
-rw-r--r--src/mainboard/purism/librem_bdw/acpi/ec.asl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/purism/librem_bdw/acpi/ec.asl b/src/mainboard/purism/librem_bdw/acpi/ec.asl
index b2fa5b9924..a660a526f4 100644
--- a/src/mainboard/purism/librem_bdw/acpi/ec.asl
+++ b/src/mainboard/purism/librem_bdw/acpi/ec.asl
@@ -16,5 +16,6 @@
#define EC_SCI_GPI 10
#define PPCM_TURBO Zero
#define PPCM_NOTURBO One
+#define CRIT_TEMP 105
#include <ec/purism/librem/acpi/ec.asl>