Add loader configurator in python script

This commit is contained in:
KazushiM
2022-02-08 00:25:37 +08:00
parent 1421586391
commit 7fd47ce576
4 changed files with 169 additions and 7 deletions

View File

@@ -5,7 +5,7 @@ static const volatile CustomizeTable C = {
* AUTO_ADJ_MARIKO_SAFE: Auto adjust timings for LPDDR4 ≤3733 Mbps specs, 8Gb density (Default).
* AUTO_ADJ_MARIKO_4266: Auto adjust timings for LPDDR4X 4266 Mbps specs, 8Gb density.
* ENTIRE_TABLE_ERISTA/ENTIRE_TABLE_MARIKO:
* Replace the entire max mtc table with customized one.
* Replace the entire max mtc table with customized one (provided by user).
*/
.mtcConf = AUTO_ADJ_MARIKO_SAFE,

View File

@@ -1032,7 +1032,7 @@ namespace ams::ldr::oc {
constexpr u32 uv_step = 12'500;
if (emc_uv % uv_step)
emc_uv = emc_uv / uv_step * uv_step;
PatchOffset(ptr, emc_uv);
PatchOffset(ptr, emc_uv);
}
return ResultSuccess();