mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 21:24:11 -04:00
exo: add mariko spare reg write during setup
This commit is contained in:
parent
1084817d84
commit
828b170aac
2 changed files with 13 additions and 0 deletions
|
@ -264,6 +264,13 @@ namespace ams::secmon {
|
|||
{
|
||||
reg::Write(AHB_ARBC(AHB_GIZMO_TZRAM), (1u << 7));
|
||||
}
|
||||
|
||||
/* NOTE: This is Mariko only in Nintendo's firmware. */
|
||||
/* Still, it seems to have no adverse effects on Erista... */
|
||||
/* TODO: Find a way to get access to SocType this early (fuse driver isn't alive yet), only write on mariko? */
|
||||
{
|
||||
reg::ReadWrite(AHB_ARBC(AHB_AHB_SPARE_REG), AHB_REG_BITS_VALUE(AHB_SPARE_REG_AHB_SPARE_REG, 0xE0000));
|
||||
}
|
||||
}
|
||||
|
||||
void SetupSocDmaControllersCpuMemoryControllersEnableMmuWarmboot() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue