mirror of
https://github.com/CTCaer/hekate.git
synced 2024-12-23 00:22:01 +00:00
bdk: replace NYX flag with proper flags
- BDK_MINERVA_CFG_FROM_RAM: enables support for getting minerva configuration from nyx storage - BDK_HW_EXTRA_DEINIT: enables extra deinit in hw_reinit_workaround - BDK_SDMMC_OC_AND_EXTRA_PRINT: enables eMMC OC support (533 MB/s) and extra error printing
This commit is contained in:
parent
960f3b23e7
commit
8327de8e2e
3 changed files with 3 additions and 3 deletions
|
@ -42,7 +42,7 @@ u32 minerva_init()
|
|||
if (hw_get_chip_id() == GP_HIDREV_MAJOR_T210B01)
|
||||
return 0;
|
||||
|
||||
#ifdef NYX
|
||||
#ifdef BDK_MINERVA_CFG_FROM_RAM
|
||||
// Set table to nyx storage.
|
||||
mtc_cfg->mtc_table = (emc_table_t *)nyx_str->mtc_table;
|
||||
|
||||
|
|
|
@ -418,7 +418,7 @@ void hw_reinit_workaround(bool coreboot, u32 bl_magic)
|
|||
// Disable BPMP max clock.
|
||||
bpmp_clk_rate_set(BPMP_CLK_NORMAL);
|
||||
|
||||
#ifdef NYX
|
||||
#ifdef BDK_HW_EXTRA_DEINIT
|
||||
// Disable temperature sensor, touchscreen, 5V regulators and Joy-Con.
|
||||
tmp451_end();
|
||||
set_fan_duty(0);
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
//#define ERROR_EXTRA_PRINTING
|
||||
#define DPRINTF(...)
|
||||
|
||||
#ifdef NYX
|
||||
#ifdef BDK_SDMMC_OC_AND_EXTRA_PRINT
|
||||
#define ERROR_EXTRA_PRINTING
|
||||
#define SDMMC_EMMC_OC
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue