mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-07-04 08:32:15 +02:00
correcting comment #66
This commit is contained in:
parent
63d15b612a
commit
b948bdc6a8
@ -93,8 +93,8 @@ void bootup_misc_mmio(void) {
|
|||||||
uint32_t sec_disable_2 = APB_SSER2_SDMMC3 | APB_SSER2_DDS | APB_SSER2_DP2;
|
uint32_t sec_disable_2 = APB_SSER2_SDMMC3 | APB_SSER2_DDS | APB_SSER2_DP2;
|
||||||
uint64_t hardware_type = configitem_get_hardware_type();
|
uint64_t hardware_type = configitem_get_hardware_type();
|
||||||
if (hardware_type != 1) {
|
if (hardware_type != 1) {
|
||||||
/* Also mark I2C5 secure only, */
|
/* Also mark I2C4 secure only, */
|
||||||
sec_disable_1 |= APB_SSER1_I2C4; /* TODO: It says I2C5, but the previously used 0x20000000 is I2C4 */
|
sec_disable_1 |= APB_SSER1_I2C4;
|
||||||
}
|
}
|
||||||
if (hardware_type != 0 && exosphere_get_target_firmware() >= EXOSPHERE_TARGET_FIRMWARE_400) {
|
if (hardware_type != 0 && exosphere_get_target_firmware() >= EXOSPHERE_TARGET_FIRMWARE_400) {
|
||||||
/* Starting on 4.x on non-dev units, mark UARTB, UARTC, SPI4, I2C3 secure only. */
|
/* Starting on 4.x on non-dev units, mark UARTB, UARTC, SPI4, I2C3 secure only. */
|
||||||
|
Loading…
Reference in New Issue
Block a user