exo: follow hekate's example, disable warmboot signature checks via bootrom arbwrite.

(rip mariko)
This commit is contained in:
Michael Scire 2018-12-16 17:38:10 -08:00
parent a9a71fbeed
commit b72a68f622

View file

@ -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);