From c6fa12727abb6b2acfa5f75478a2e9bcfde90008 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Mon, 13 Nov 2017 18:57:54 +0100 Subject: sb/intel: Replace DTS2 with FLVL Replace the unused DTS2 field with FLVL (fan level). Required to use the fan level on all thinkpads to store and retrieve the current fan level. Possible additional use case is to modify the fan level from a SMI handler. Change-Id: I1ee5348d24b018ab1b61067813c1db63d6706c12 Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/22513 Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Reviewed-by: Alexander Couzens --- src/southbridge/intel/i82801jx/acpi/globalnvs.asl | 2 +- src/southbridge/intel/i82801jx/nvs.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/southbridge/intel/i82801jx') diff --git a/src/southbridge/intel/i82801jx/acpi/globalnvs.asl b/src/southbridge/intel/i82801jx/acpi/globalnvs.asl index df8306441a..44aa8e4511 100644 --- a/src/southbridge/intel/i82801jx/acpi/globalnvs.asl +++ b/src/southbridge/intel/i82801jx/acpi/globalnvs.asl @@ -58,7 +58,7 @@ Field (GNVS, ByteAcc, NoLock, Preserve) CRTT, 8, // 0x19 - critical trip point DTSE, 8, // 0x1a - Digital Thermal Sensor enable DTS1, 8, // 0x1b - DT sensor 1 - DTS2, 8, // 0x1c - DT sensor 2 + FLVL, 8, // 0x1c - current fan level /* Battery Support */ Offset (0x1e), BNUM, 8, // 0x1e - number of batteries diff --git a/src/southbridge/intel/i82801jx/nvs.h b/src/southbridge/intel/i82801jx/nvs.h index c3a3920596..16c49bb18b 100644 --- a/src/southbridge/intel/i82801jx/nvs.h +++ b/src/southbridge/intel/i82801jx/nvs.h @@ -42,7 +42,7 @@ typedef struct { u8 crtt; /* 0x19 - critical trip point */ u8 dtse; /* 0x1a - Digital Thermal Sensor enable */ u8 dts1; /* 0x1b - DT sensor 1 */ - u8 dts2; /* 0x1c - DT sensor 2 */ + u8 flvl; /* 0x1c - current fan level */ u8 rsvd2; /* Battery Support */ u8 bnum; /* 0x1e - number of batteries */ -- cgit v1.2.3