fusee/sept: delegate SoC selection to individual components and keep common code SoC-agnostic

This commit is contained in:
hexkyz
2020-12-04 16:29:30 +00:00
committed by SciresM
parent 4ffdf8d525
commit 53c684a17a
20 changed files with 212 additions and 112 deletions

View File

@@ -125,11 +125,7 @@ static void _check_and_display_atmosphere_fatal_error(void) {
video_init((void *)0xC0000000);
/* Initialize the display. */
if (fuse_get_soc_type() == 1) {
display_init_mariko();
} else {
display_init_erista();
}
display_init();
/* Set the framebuffer. */
display_init_framebuffer((void *)0xC0000000);
@@ -225,11 +221,7 @@ void check_and_display_panic(void) {
}
/* Initialize the display. */
if (fuse_get_soc_type() == 1) {
display_init_mariko();
} else {
display_init_erista();
}
display_init();
/* Fill the screen. */
display_color_screen(color);