mirror of
https://github.com/CTCaer/hekate.git
synced 2024-12-25 15:17:19 +00:00
minerva: Disable for T210B01
Minerva is currently unsupported for Mariko LPDDR4X.
This commit is contained in:
parent
e4c0756ded
commit
528ddbe12c
@ -23,6 +23,7 @@
|
|||||||
#include <ianos/ianos.h>
|
#include <ianos/ianos.h>
|
||||||
#include <soc/clock.h>
|
#include <soc/clock.h>
|
||||||
#include <soc/fuse.h>
|
#include <soc/fuse.h>
|
||||||
|
#include <soc/hw_init.h>
|
||||||
#include <soc/t210.h>
|
#include <soc/t210.h>
|
||||||
#include <utils/util.h>
|
#include <utils/util.h>
|
||||||
|
|
||||||
@ -37,6 +38,10 @@ u32 minerva_init()
|
|||||||
minerva_cfg = NULL;
|
minerva_cfg = NULL;
|
||||||
mtc_config_t *mtc_cfg = (mtc_config_t *)&nyx_str->mtc_cfg;
|
mtc_config_t *mtc_cfg = (mtc_config_t *)&nyx_str->mtc_cfg;
|
||||||
|
|
||||||
|
//!TODO: Not supported on T210B01 yet.
|
||||||
|
if (hw_get_chip_id() == GP_HIDREV_MAJOR_T210B01)
|
||||||
|
return 0;
|
||||||
|
|
||||||
#ifdef NYX
|
#ifdef NYX
|
||||||
// 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;
|
||||||
|
@ -1531,7 +1531,7 @@ void ipl_main()
|
|||||||
h_cfg.errors |= ERR_LIBSYS_LP0;
|
h_cfg.errors |= ERR_LIBSYS_LP0;
|
||||||
|
|
||||||
// Train DRAM and switch to max frequency.
|
// Train DRAM and switch to max frequency.
|
||||||
if (minerva_init())
|
if (minerva_init()) //!TODO: Add Tegra210B01 support to minerva.
|
||||||
h_cfg.errors |= ERR_LIBSYS_MTC;
|
h_cfg.errors |= ERR_LIBSYS_MTC;
|
||||||
|
|
||||||
display_init();
|
display_init();
|
||||||
|
Loading…
Reference in New Issue
Block a user