ODROID-N2: vout: fix default display init option

Change-Id: I33f3ea9374847117914b821193610d48f9e55106
This commit is contained in:
Joy Cho
2018-12-28 15:39:57 +09:00
parent 8fb5d6d470
commit 6a632040eb

View File

@@ -1040,6 +1040,10 @@ static void vout_init_mode_parse(char *str)
return;
}
#if defined(CONFIG_ARCH_MESON64_ODROID_COMMON)
/* always do initialization */
uboot_display = 0;
#else
/* detect uboot display */
if (strncmp(str, "en", 2) == 0) { /* enable */
uboot_display = 1;
@@ -1051,7 +1055,7 @@ static void vout_init_mode_parse(char *str)
VOUTPR("%s: %d\n", str, uboot_display);
return;
}
#endif
/*
* just save the vmode_name,
* convert to vmode when vout sever registered