mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-13 23:46:40 +00:00
Fix SMMU Enable preventing FS from talking to NAND MMIO
This commit is contained in:
parent
827280ca12
commit
11e694d15c
1 changed files with 5 additions and 1 deletions
|
@ -120,9 +120,13 @@ void bootup_misc_mmio(void) {
|
||||||
MAKE_MC_REG(0x020) = 0;
|
MAKE_MC_REG(0x020) = 0;
|
||||||
MAKE_MC_REG(0x014) = 0x30000030;
|
MAKE_MC_REG(0x014) = 0x30000030;
|
||||||
MAKE_MC_REG(0x018) = 0x2800003F;
|
MAKE_MC_REG(0x018) = 0x2800003F;
|
||||||
|
(void)(MAKE_MC_REG(0x014));
|
||||||
MAKE_MC_REG(0x034) = 0;
|
MAKE_MC_REG(0x034) = 0;
|
||||||
|
(void)(MAKE_MC_REG(0x014));
|
||||||
MAKE_MC_REG(0x030) = 0;
|
MAKE_MC_REG(0x030) = 0;
|
||||||
MAKE_MC_REG(0x010) = 0;
|
(void)(MAKE_MC_REG(0x014));
|
||||||
|
MAKE_MC_REG(0x010) = 1;
|
||||||
|
(void)(MAKE_MC_REG(0x014));
|
||||||
|
|
||||||
/* Clear RESET Vector, setup CPU Secure Boot RESET Vectors. */
|
/* Clear RESET Vector, setup CPU Secure Boot RESET Vectors. */
|
||||||
uint32_t reset_vec = TZRAM_GET_SEGMENT_PA(TZRAM_SEGMENT_ID_WARMBOOT_CRT0_AND_MAIN);
|
uint32_t reset_vec = TZRAM_GET_SEGMENT_PA(TZRAM_SEGMENT_ID_WARMBOOT_CRT0_AND_MAIN);
|
||||||
|
|
Loading…
Reference in a new issue