Correct RCM patched status for Mariko

This also disallows AutoRCM for Mariko.
This commit is contained in:
CTCaer
2020-06-26 22:40:06 +03:00
parent fbbfeb2d1c
commit 1c9efa327c
6 changed files with 22 additions and 10 deletions

View File

@@ -22,6 +22,7 @@
#include <gfx_utils.h>
#include <libs/fatfs/ff.h>
#include <soc/fuse.h>
#include <soc/hw_init.h>
#include <soc/t210.h>
#include <storage/nx_sd.h>
#include <storage/sdmmc.h>
@@ -50,6 +51,7 @@ void set_default_configuration()
h_cfg.rcm_patched = fuse_check_patched_rcm();
h_cfg.sbk_set = FUSE(FUSE_PRIVATE_KEY0) == 0xFFFFFFFF;
h_cfg.emummc_force_disable = false;
h_cfg.t210b01 = hw_get_chip_id() == GP_HIDREV_MAJOR_T210B01;
sd_power_cycle_time_start = 0;
}