Просмотр исходного кода

Convert CONFIG_AM335X_LCD to Kconfig

This converts the following to Kconfig:
   CONFIG_AM335X_LCD

Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini 3 лет назад
Родитель
Сommit
0735ac8522
3 измененных файлов с 1 добавлено и 4 удалено
  1. 1 0
      configs/brxre1_defconfig
  2. 0 1
      drivers/video/Kconfig
  3. 0 3
      include/configs/brxre1.h

+ 1 - 0
configs/brxre1_defconfig

@@ -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

+ 0 - 1
drivers/video/Kconfig

@@ -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.
 

+ 0 - 3
include/configs/brxre1.h

@@ -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 */