loader: add mariko cpu vmin
This commit is contained in:
@@ -162,6 +162,9 @@ volatile CustomizeTable C = {
|
||||
0 /* 1152 (Disabled by default) */,
|
||||
},
|
||||
|
||||
|
||||
.marikoCpuVmin = 600,
|
||||
|
||||
/* Advanced Settings:
|
||||
* - Erista CPU DVFS Table:
|
||||
*/
|
||||
|
||||
@@ -84,6 +84,8 @@
|
||||
u32 marikoGpuVoltArray[24];
|
||||
u32 eristaGpuVoltArray[15];
|
||||
|
||||
u32 marikoCpuVmin;
|
||||
|
||||
CustomizeCpuDvfsTable eristaCpuDvfsTable;
|
||||
CustomizeCpuDvfsTable marikoCpuDvfsTable;
|
||||
CustomizeCpuDvfsTable marikoCpuDvfsTableSLT;
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
// Patch vmin for slt
|
||||
if (C.marikoCpuUV) {
|
||||
if (*(ptr-5) == 620) {
|
||||
PATCH_OFFSET((ptr-5), 600);
|
||||
PATCH_OFFSET((ptr-5), C.marikoCpuVmin);
|
||||
}
|
||||
if (*(ptr-1) == 620) {
|
||||
PATCH_OFFSET((ptr-1), 600);
|
||||
|
||||
Reference in New Issue
Block a user