Deprecate auto (ignoring it was never supported to begin with)

This commit is contained in:
Lightos1
2026-01-01 23:24:57 +01:00
parent f1a13e0955
commit 3b71ff398e
2 changed files with 4 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ enum MtcConfig: u32 {
}; };
enum TableConfig: u32 { enum TableConfig: u32 {
AUTO = 0, /* Auto is not supported yet. */ AUTO_DEPRECATED = 0,
DEFAULT_TABLE = 1, DEFAULT_TABLE = 1,
TBREAK_1581 = 2, TBREAK_1581 = 2,
TBREAK_1683 = 3, TBREAK_1683 = 3,

View File

@@ -5,6 +5,8 @@
* *
* Copyright (c) Souldbminer and Horizon OC Contributors * Copyright (c) Souldbminer and Horizon OC Contributors
* *
* Copyright (c) 2025 Lightos_
*
* This program is free software; you can redistribute it and/or modify it * This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License, * under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation. * version 2, as published by the Free Software Foundation.
@@ -302,7 +304,7 @@ namespace ams::ldr::oc::pcv {
if (isMariko) { if (isMariko) {
switch (C.tableConf) { switch (C.tableConf) {
case AUTO: case AUTO_DEPRECATED:
case TBREAK_1683: { case TBREAK_1683: {
customize_table = const_cast<cvb_entry_t *>(C.marikoCpuDvfsTable1683Tbreak); customize_table = const_cast<cvb_entry_t *>(C.marikoCpuDvfsTable1683Tbreak);
break; break;