Add CFM Limit Set / Get commands
These commands can be used to set the Min / Max
CFM limits.
Tested: Used bios to change cfm limits and they
were persisted.
Change-Id: Id806acb9c13b32228d1fe86baf436e756f32d212
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/include/oemcommands.hpp b/include/oemcommands.hpp
index df6b007..cd51038 100644
--- a/include/oemcommands.hpp
+++ b/include/oemcommands.hpp
@@ -28,6 +28,8 @@
cmdGetShutdownPolicy = 0x62,
cmdSetFanConfig = 0x89,
cmdGetFanConfig = 0x8a,
+ cmdSetFscParameter = 0x90,
+ cmdGetFscParameter = 0x91,
cmdGetChassisIdentifier = 0x92,
cmdGetProcessorErrConfig = 0x9A,
cmdSetProcessorErrConfig = 0x9B,
@@ -298,4 +300,12 @@
// reserved [5:3]
performAcousSelect = 2
// reserved [1:0]
+};
+
+enum class setFscParamFlags : uint8_t
+{
+ tcontrol = 0x1,
+ pwmOffset = 0x2,
+ maxPwm = 0x3,
+ cfm = 0x4
};
\ No newline at end of file