mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-12-01 02:37:27 +01:00
Fix warmboot vs cpu_on check
This commit is contained in:
parent
03c1ad7119
commit
4a2c9229ee
@ -143,7 +143,7 @@ void warmboot_init(boot_func_list_t *func_list) {
|
|||||||
func_list->funcs.invalidate_icache_all();
|
func_list->funcs.invalidate_icache_all();
|
||||||
|
|
||||||
/* On warmboot (not cpu_on) only */
|
/* On warmboot (not cpu_on) only */
|
||||||
if (MC_SECURITY_CFG0_0 != 0) {
|
if (MC_SECURITY_CFG3_0 == 0) {
|
||||||
init_dma_controllers();
|
init_dma_controllers();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ void __attribute__((noreturn)) warmboot_main(void) {
|
|||||||
identity_unmap_iram_cd_tzram();
|
identity_unmap_iram_cd_tzram();
|
||||||
|
|
||||||
/* On warmboot (not cpu_on) only */
|
/* On warmboot (not cpu_on) only */
|
||||||
if (MC_SECURITY_CFG0_0 != 0) {
|
if (MC_SECURITY_CFG3_0 == 0) {
|
||||||
if (!configitem_is_retail()) {
|
if (!configitem_is_retail()) {
|
||||||
/* TODO: uart_log("OHAYO"); */
|
/* TODO: uart_log("OHAYO"); */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user