mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-12-27 12:46:03 +00:00
exo: follow hekate's example, disable warmboot signature checks via bootrom arbwrite.
(rip mariko)
This commit is contained in:
parent
a9a71fbeed
commit
b72a68f622
1 changed files with 4 additions and 0 deletions
|
@ -240,6 +240,10 @@ void save_se_and_power_down_cpu(void) {
|
|||
/* Save context for warmboot to restore. */
|
||||
save_tzram_state();
|
||||
save_se_state();
|
||||
|
||||
/* Patch the bootrom to disable warmboot signature checks. */
|
||||
MAKE_REG32(PMC_BASE + 0x118) = 0x2202E012;
|
||||
MAKE_REG32(PMC_BASE + 0x11C) = 0x6001DC28;
|
||||
|
||||
if (!configitem_is_retail()) {
|
||||
uart_send(UART_A, "OYASUMI", 8);
|
||||
|
|
Loading…
Reference in a new issue