diff --git a/configs/skp16c26/ostest/defconfig b/configs/skp16c26/ostest/defconfig index c47819136f4..9218c7232ed 100644 --- a/configs/skp16c26/ostest/defconfig +++ b/configs/skp16c26/ostest/defconfig @@ -119,6 +119,10 @@ CONFIG_UART0_2STOP=0 CONFIG_UART1_2STOP=0 CONFIG_UART2_2STOP=0 +# +# Enable LCD console +CONFIG_LCD_CONSOLE=y + # # General build options # diff --git a/configs/skp16c26/src/up_lcdconsole.c b/configs/skp16c26/src/up_lcdconsole.c index 544d2ea38b1..e203c24d914 100644 --- a/configs/skp16c26/src/up_lcdconsole.c +++ b/configs/skp16c26/src/up_lcdconsole.c @@ -56,7 +56,7 @@ # undef HAVE_SERIALCONSOLE #endif -#if !defined(HAVE_SERIALCONSOLE) && defined(CONFIG_ARCH_LCD) +#if !defined(HAVE_SERIALCONSOLE) && defined(CONFIG_ARCH_LCD) && defined(CONFIG_LCD_CONSOLE) /************************************************************************************ * Definitions