Browse Source

Hisilicon/D06: Use HCCS speed with 2.6G

Follow chip team suggestion, HCCS(Huawei Cache-Coherent System)
may be unstable while speed is 3.0G, so use 2.6G to avoid some
unstable stress issue.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ming Huang <ming.huang@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Ming Huang 5 years ago
parent
commit
2e5e75c6b5
1 changed files with 8 additions and 0 deletions
  1. 8 0
      Platform/Hisilicon/D06/Library/OemMiscLibD06/OemMiscLibD06.c

+ 8 - 0
Platform/Hisilicon/D06/Library/OemMiscLibD06/OemMiscLibD06.c

@@ -222,3 +222,11 @@ UINTN OemGetCpuFreq (UINT8 Socket)
   }
 }
 
+UINTN
+OemGetHccsFreq (
+  VOID
+  )
+{
+  return HCCS_PLL_VALUE_2600;
+}
+