mirror of
https://github.com/CTCaer/hekate
synced 2024-12-22 11:21:23 +00:00
minerva: Fix emc table corruption
This commit is contained in:
parent
aadb88eeea
commit
91b4c86bbe
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ u32 minerva_init()
|
||||||
memset(mtc_cfg, 0, sizeof(mtc_config_t));
|
memset(mtc_cfg, 0, sizeof(mtc_config_t));
|
||||||
|
|
||||||
// Set table to nyx storage.
|
// Set table to nyx storage.
|
||||||
mtc_cfg->mtc_table = (emc_table_t *)&nyx_str->mtc_table;
|
mtc_cfg->mtc_table = (emc_table_t *)nyx_str->mtc_table;
|
||||||
|
|
||||||
mtc_cfg->sdram_id = (fuse_read_odm(4) >> 3) & 0x1F;
|
mtc_cfg->sdram_id = (fuse_read_odm(4) >> 3) & 0x1F;
|
||||||
mtc_cfg->init_done = MTC_NEW_MAGIC; // Initialize mtc table.
|
mtc_cfg->init_done = MTC_NEW_MAGIC; // Initialize mtc table.
|
||||||
|
|
Loading…
Reference in a new issue