add 2397 freq and slt table for Mariko CPU

This commit is contained in:
hanabbi
2023-06-22 14:47:01 +09:00
parent 0a0288cd22
commit 4c84a3b212
5 changed files with 53 additions and 8 deletions

View File

@@ -304,7 +304,7 @@ Result FileUtils::CustParser(const char* filepath, size_t filesize) {
LogLine("Set MEM Vdd2 volt to %u mV: %s", mvolt, R_FAILED(res) ? "Failed" : "OK");
}
cpu_dvfs_table = &table.marikoCpuDvfsTable;
cpu_dvfs_table = table.marikoCpuUV ? &table.marikoCpuDvfsTable : &table.marikoCpuDvfsTableSLT;
switch (table.marikoGpuUV) {
case 0:
gpu_dvfs_table = &table.marikoGpuDvfsTable;