[PATCH 01/30] Convert CONFIG_AM335X_LCD to Kconfig

Tom Rini
2020-06-10T20:16:05Z

This converts the following to Kconfig:
CONFIG_AM335X_LCD

Signed-off-by: Tom Rini <trini@konsulko.com>
---
configs/brxre1_defconfig | 1 +
drivers/video/Kconfig | 1 -
include/configs/brxre1.h | 3 ---
3 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/configs/brxre1_defconfig b/configs/brxre1_defconfig
index 5d3246ac8c72..456e4507c8c6 100644
--- a/configs/brxre1_defconfig
+++ b/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
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 38123543a539..05c173b9331c 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -475,7 +475,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.

diff --git a/include/configs/brxre1.h b/include/configs/brxre1.h
index 9db011358eba..3a18aec5d332 100644
--- a/include/configs/brxre1.h
+++ b/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 */
--
2.17.1