mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-10 06:01:52 +00:00
exo: there's no reason to not always init uart to be safe, actually
This commit is contained in:
parent
a79f4cf6f6
commit
a51d355707
1 changed files with 3 additions and 5 deletions
|
@ -215,11 +215,9 @@ void bootup_misc_mmio(void) {
|
||||||
|
|
||||||
if (!g_has_booted_up) {
|
if (!g_has_booted_up) {
|
||||||
/* N doesn't do this, but we should for compatibility. */
|
/* N doesn't do this, but we should for compatibility. */
|
||||||
if (configitem_is_debugmode_priv()) {
|
|
||||||
uart_select(UART_A);
|
uart_select(UART_A);
|
||||||
clkrst_reboot(CARDEVICE_UARTA);
|
clkrst_reboot(CARDEVICE_UARTA);
|
||||||
uart_init(UART_A, 115200);
|
uart_init(UART_A, 115200);
|
||||||
}
|
|
||||||
|
|
||||||
intr_register_handler(INTERRUPT_ID_SECURITY_ENGINE, se_operation_completed);
|
intr_register_handler(INTERRUPT_ID_SECURITY_ENGINE, se_operation_completed);
|
||||||
if (exosphere_get_target_firmware() >= EXOSPHERE_TARGET_FIRMWARE_400) {
|
if (exosphere_get_target_firmware() >= EXOSPHERE_TARGET_FIRMWARE_400) {
|
||||||
|
|
Loading…
Reference in a new issue