mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2025-01-03 11:11:14 +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
|
@ -241,6 +241,10 @@ void save_se_and_power_down_cpu(void) {
|
||||||
save_tzram_state();
|
save_tzram_state();
|
||||||
save_se_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()) {
|
if (!configitem_is_retail()) {
|
||||||
uart_send(UART_A, "OYASUMI", 8);
|
uart_send(UART_A, "OYASUMI", 8);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue