Change 'success' panic location to end of coldboot_main()

This commit is contained in:
Michael Scire committed 2018-03-02 15:09:51 -08:00
1 parent 102fb5004f
commit 661bcaa3ec
2 files changed
+2 -4

No files matched your search

+2
View File
@@ -24,5 +24,7 @@ void coldboot_main(void) {
use_core_entrypoint_and_argument(get_core_id(), &ep, &arg);
/* Nintendo jumps to EL1, we jump to EL2. Both are supported with all current packages2. */
/* TODO: Remove this panic() when we're ready to test Kernel handoff. */
panic(0x7A700001);
__jump_to_lower_el(arg, ep, 2);
}
-4
View File
@@ -463,8 +463,4 @@ void load_package2(coldboot_crt0_reloc_list_t *reloc_list) {
__asm__ __volatile__("isb");
} while(false);
if (MAILBOX_NX_BOOTLOADER_IS_SECMON_AWAKE) {
panic(0x7A700001);
}
}