fusee: update display code for mariko

This commit is contained in:
hexkyz
2020-11-30 19:05:39 +00:00
committed by SciresM
parent 3b05315616
commit 3e8688e19e
15 changed files with 3347 additions and 1818 deletions

View File

@@ -99,8 +99,12 @@ static void setup_display(void) {
video_init(g_framebuffer);
/* Initialize the display. */
display_init();
if (fuse_get_soc_type() == 1) {
display_init_mariko();
} else {
display_init_erista();
}
/* Set the framebuffer. */
display_init_framebuffer(g_framebuffer);
@@ -114,7 +118,11 @@ static void cleanup_display(void) {
display_backlight(false);
/* Terminate the display. */
display_end();
if (fuse_get_soc_type() == 1) {
display_end_mariko();
} else {
display_end_erista();
}
}
static void setup_env(void) {