l4t: Clear boot mode if user canceled autoboot

This commit is contained in:
CTCaer
2020-08-15 13:12:41 +03:00
parent 3d05b58856
commit 98555b24f8
3 changed files with 4 additions and 3 deletions

View File

@@ -1080,6 +1080,9 @@ out:
b_cfg.boot_cfg &= BOOT_CFG_SEPT_RUN;
h_cfg.emummc_force_disable = false;
// L4T: Clear custom boot mode flags from PMC_SCRATCH0.
PMC(APBDEV_PMC_SCRATCH0) &= ~PMC_SCRATCH0_MODE_CUSTOM_ALL;
nyx_load_run();
sd_end();