fix loader configurator

This commit is contained in:
souldbminersmwc
2025-09-01 16:32:35 -04:00
parent f766bd616c
commit 45b9369aea
3 changed files with 113 additions and 25 deletions

View File

@@ -113,21 +113,13 @@ volatile CustomizeTable C = {
.marikoCpuHighVoltOffset = 0,
.marikoB3 = 179,
.marikoCpuHighUV = 0,
.cpuMaxFreq = 1963500,
.gpuMaxFreq = 1267200,
.eristaCPUvMax = 1300,
.marikoCPUvMax = 1235,
.MemVltMax = 1350000,
.marikoVDDQMax = 650000,
/* Advanced Settings:
* - Erista CPU DVFS Table:
*/
@@ -300,6 +292,15 @@ volatile CustomizeTable C = {
//.eristaMtcTable = const_cast<EristaMtcTable *>(&EristaMtcTablePlaceholder),
//.marikoMtcTable = const_cast<MarikoMtcTable *>(&MarikoMtcTablePlaceholder),
.eristaCPUvMax = 1300,
.marikoCPUvMax = 1235,
.MemVltMax = 1350000,
.marikoVDDQMax = 650000,
.marikoB3 = 179,
};

View File

@@ -67,15 +67,11 @@ typedef struct CustomizeTable {
//
u32 marikoGpuVoltArray[18];
u8 marikoCpuHighVoltOffset;
u8 marikoB3;
u8 marikoCpuHighUV;
u32 cpuMaxFreq;
u32 gpuMaxFreq;
u32 eristaCPUvMax;
u32 marikoCPUvMax;
u32 MemVltMax;
u32 marikoVDDQMax;
CustomizeCpuDvfsTable eristaCpuDvfsTable;
CustomizeCpuDvfsTable marikoCpuDvfsTable;
@@ -86,6 +82,12 @@ typedef struct CustomizeTable {
CustomizeGpuDvfsTable marikoGpuDvfsTableHiOPT;
//EristaMtcTable* eristaMtcTable;
//MarikoMtcTable* marikoMtcTable;
u32 eristaCPUvMax;
u32 marikoCPUvMax;
u32 MemVltMax;
u32 marikoVDDQMax;
u8 marikoB3;
} CustomizeTable;
//static_assert(sizeof(CustomizeTable) == sizeof(u8) * 4 + sizeof(u32) * 10 + sizeof(CustomizeCpuDvfsTable) * 5 + sizeof(void*) * 2);