mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 21:24:11 -04:00
fusee_cpp: cache cleanup, confirmed working on hardware
This commit is contained in:
parent
5cff5e629b
commit
e7d7d8adfb
9 changed files with 110 additions and 121 deletions
|
@ -44,6 +44,7 @@ namespace ams::nxboot {
|
|||
*reinterpret_cast<volatile u32 *>(0x4003800C) = static_cast<u32>(sm);
|
||||
*reinterpret_cast<volatile u32 *>(0x40038010) = static_cast<u32>(bw);
|
||||
}
|
||||
|
||||
*reinterpret_cast<volatile u32 *>(0x7000E400) = 0x10;
|
||||
}
|
||||
|
||||
|
|
|
@ -328,6 +328,10 @@ namespace ams::nxboot {
|
|||
clkrst::EnableI2c5Clock();
|
||||
clkrst::EnableTzramClock();
|
||||
|
||||
/* Ensure avp cache is enabled, since we'll be using it. */
|
||||
clkrst::EnableCache2Clock();
|
||||
clkrst::EnableCram2Clock();
|
||||
|
||||
/* Initialize I2C5. */
|
||||
i2c::Initialize(i2c::Port_5);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue