diff mbox series

[PATCHv2,01/31] Convert CONFIG_AM335X_LCD to Kconfig

Message ID 20200616230631.29189-1-trini@konsulko.com
State Accepted
Commit 0735ac85224a8b518eec6792bac116781dc67aac
Headers show
Series [PATCHv2,01/31] Convert CONFIG_AM335X_LCD to Kconfig | expand

Commit Message

Tom Rini June 16, 2020, 11:06 p.m. UTC
This converts the following to Kconfig:
   CONFIG_AM335X_LCD

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

Comments

Tom Rini June 30, 2020, 3:17 p.m. UTC | #1
On Tue, Jun 16, 2020 at 07:06:01PM -0400, Tom Rini wrote:

> This converts the following to Kconfig:
>    CONFIG_AM335X_LCD
> 
> Signed-off-by: Tom Rini <trini at konsulko.com>

Applied to u-boot/next, thanks!
diff mbox series

Patch

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