Merge branch 'master' into emunand_dev

This commit is contained in:
hexkyz
2019-04-28 16:53:39 +01:00
123 changed files with 6022 additions and 1386 deletions

View File

@@ -60,6 +60,7 @@ static void setup_env(void) {
train_dram();
}
static void cleanup_env(void) {
/* Unmount everything (this causes all open files to be flushed and closed) */
nxfs_end();
@@ -119,6 +120,8 @@ int main(int argc, void **argv) {
uint32_t boot_memaddr = nxboot_main();
/* Wait for the splash screen to have been displayed as long as it should be. */
splash_screen_wait_delay();
/* Cleanup environment. */
cleanup_env();
/* Finish boot. */
nxboot_finish(boot_memaddr);
} else {