nyx: Add alternate power saving modes

T210:
By default max power savings is enabled.
By changing `newpowersave=` to 0, it reverts to the old behavior of smaller power savings.

This was added to mitigate some strange DRAM chips, hanging from constant frequency change of a 800 MHz - 1600 MHz back and forth.

T210B01:
Defaults to a simple loop with no power savings. That's because of untrained ram.
This commit is contained in:
CTCaer
2020-12-02 02:07:31 +02:00
parent c13eabcde8
commit cf175fc00d
4 changed files with 40 additions and 7 deletions

View File

@@ -280,6 +280,8 @@ void load_saved_configuration()
n_cfg.ums_emmc_rw = atoi(kv->val) == 1;
else if (!strcmp("jcdisable", kv->key))
n_cfg.jc_disable = atoi(kv->val) == 1;
else if (!strcmp("newpowersave", kv->key))
n_cfg.new_powersave = atoi(kv->val) == 1;
}
break;