Fix mangled register name.

This commit is contained in:
Michael Scire 2018-02-21 10:58:50 -08:00
parent f0d0ec0dca
commit 904ed3ad4e

View File

@ -37,7 +37,7 @@ void setup_se(void) {
security_engine_t *p_security_engine = get_security_engine_address();
p_security_engine->_0x4 = 0;
p_security_engine->AES_KEY_READ_DISABLE_REG = 0;
p_security_engine->RSA_KEY_READ_SAIBEL_REG = 0;
p_security_engine->RSA_KEY_READ_DISABLE_REG = 0;
p_security_engine->_0x0 &= 0xFFFFFFFB;
/* Currently unknown what each flag does. */