mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-09 22:56:35 +00:00
Fix warmboot vs cpu_on check
This commit is contained in:
parent
03c1ad7119
commit
4a2c9229ee
2 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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"); */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue