Convert CONFIG_AM335X_LCD to Kconfig
authorTom Rini <trini@konsulko.com>
Tue, 16 Jun 2020 23:06:01 +0000 (19:06 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 26 Jun 2020 14:29:04 +0000 (10:29 -0400)
This converts the following to Kconfig:
   CONFIG_AM335X_LCD

Signed-off-by: Tom Rini <trini@konsulko.com>
configs/brxre1_defconfig
drivers/video/Kconfig
include/configs/brxre1.h

index 5d3246a..456e450 100644 (file)
@@ -89,6 +89,7 @@ CONFIG_USB_MUSB_TI=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_GADGET=y
 CONFIG_SYS_WHITE_ON_BLACK=y
+CONFIG_AM335X_LCD=y
 CONFIG_LCD=y
 CONFIG_SPL_TINY_MEMSET=y
 # CONFIG_OF_LIBFDT_OVERLAY is not set
index 01e8dbf..f5f3f28 100644 (file)
@@ -508,7 +508,6 @@ config ATMEL_HLCD
 
 config AM335X_LCD
        bool "Enable AM335x video support"
-       depends on DM_VIDEO
        help
           Supports video output to an attached LCD panel.
 
index 9db0113..3a18aec 100644 (file)
@@ -15,9 +15,6 @@
 #include <configs/bur_am335x_common.h>
 #include <linux/stringify.h>
 /* ------------------------------------------------------------------------- */
-#if !defined(CONFIG_AM335X_LCD)
-#define CONFIG_AM335X_LCD
-#endif
 #define LCD_BPP                                LCD_COLOR32
 
 /* memory */