summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraywu <raywu@aaeon.com>2018-06-29 13:02:02 +0800
committerraywu <raywu@aaeon.com>2018-06-29 13:02:02 +0800
commit2ff6d76f5100404efc1cfd3eab74b99d76274255 (patch)
tree187e468278f940f7054ebd6eb0136231efaba3a5
parentc89a02c99655d8974efc4cb3ca5257d22629433e (diff)
downloadzprj-2ff6d76f5100404efc1cfd3eab74b99d76274255.tar.xz
Remove F81866 FAN3 Support
-rw-r--r--Board/IO/F81866/BSP/F81866HwmOemHooks.c54
1 files changed, 27 insertions, 27 deletions
diff --git a/Board/IO/F81866/BSP/F81866HwmOemHooks.c b/Board/IO/F81866/BSP/F81866HwmOemHooks.c
index 22d80b9..a48d0eb 100644
--- a/Board/IO/F81866/BSP/F81866HwmOemHooks.c
+++ b/Board/IO/F81866/BSP/F81866HwmOemHooks.c
@@ -378,33 +378,33 @@ GetAndUpdateFan2Speed (
//
//-------------------------------------------------------------------------
//<AMI_PHDR_END>
-void
-GetAndUpdateFan3Speed (
- IN OUT HWM_DATA * Data
- )
-{
- UINTN Speed;
- UINTN Divisor;
-
- Data->Token = STRING_TOKEN(STR_F81866_FAN3_SPEED_VALUE);
- Data->Type = FAN_SPEED;
- Data->OddPos = 0x00;
-
- //OEM_TODO:Get value with HWM IO interface
- GetValueWithIO(0x00,0xC0,&Speed); // Register 0xA0
- Divisor = (UINT8)Speed << 8;
- GetValueWithIO(0x00,0xC1,&Speed); // Register 0xA1
- Divisor |= (UINT8) Speed;
-
- if( (Divisor == 0xFFFF) || (Divisor == 0x0FFF) || (Divisor == 0 )) {
- Speed = 0;
- } else {
- Speed = (UINTN)1500000/Divisor;
- }
- Data->Value = (UINT16)Speed;
-
- return;
-}
+//void
+//GetAndUpdateFan3Speed (
+// IN OUT HWM_DATA * Data
+// )
+//{
+// UINTN Speed;
+// UINTN Divisor;
+//
+// Data->Token = STRING_TOKEN(STR_F81866_FAN3_SPEED_VALUE);
+// Data->Type = FAN_SPEED;
+// Data->OddPos = 0x00;
+//
+// //OEM_TODO:Get value with HWM IO interface
+// GetValueWithIO(0x00,0xC0,&Speed); // Register 0xA0
+// Divisor = (UINT8)Speed << 8;
+// GetValueWithIO(0x00,0xC1,&Speed); // Register 0xA1
+// Divisor |= (UINT8) Speed;
+//
+// if( (Divisor == 0xFFFF) || (Divisor == 0x0FFF) || (Divisor == 0 )) {
+// Speed = 0;
+// } else {
+// Speed = (UINTN)1500000/Divisor;
+// }
+// Data->Value = (UINT16)Speed;
+//
+// return;
+//}
//<AMI_PHDR_START>