diff --git a/exosphere/src/warmboot_init.c b/exosphere/src/warmboot_init.c index 23d5d2fde..4fdc3fc04 100644 --- a/exosphere/src/warmboot_init.c +++ b/exosphere/src/warmboot_init.c @@ -143,7 +143,7 @@ void warmboot_init(boot_func_list_t *func_list) { func_list->funcs.invalidate_icache_all(); /* On warmboot (not cpu_on) only */ - if (MC_SECURITY_CFG0_0 != 0) { + if (MC_SECURITY_CFG3_0 == 0) { init_dma_controllers(); } diff --git a/exosphere/src/warmboot_main.c b/exosphere/src/warmboot_main.c index b8a0147ea..cc415bfee 100644 --- a/exosphere/src/warmboot_main.c +++ b/exosphere/src/warmboot_main.c @@ -26,7 +26,7 @@ void __attribute__((noreturn)) warmboot_main(void) { identity_unmap_iram_cd_tzram(); /* On warmboot (not cpu_on) only */ - if (MC_SECURITY_CFG0_0 != 0) { + if (MC_SECURITY_CFG3_0 == 0) { if (!configitem_is_retail()) { /* TODO: uart_log("OHAYO"); */ }