summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2021-10-04 18:33:12 +0300
committerAnatolij Gustschin <agust@denx.de>2021-10-09 20:50:03 +0300
commit79c05335a9c101f0b54f2f378d0b08c9b765e1a3 (patch)
tree806f91ed4631e9cad350dce959937328ed2c05ac /drivers/video
parent450d937812c2419b830bb418f86594577809d02e (diff)
downloadu-boot-79c05335a9c101f0b54f2f378d0b08c9b765e1a3.tar.xz
video: move MXS to Kconfig
Move CONFIG_VIDEO_MXS from board headers to Kconfig and drop it from obsolete cfb_console driver. Signed-off-by: Anatolij Gustschin <agust@denx.de> Reviewed-by: Fabio Estevam <festevam@gmail.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/Kconfig6
-rw-r--r--drivers/video/cfb_console.c4
2 files changed, 6 insertions, 4 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index b1f8a9c1e6..9f789a6a58 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -648,6 +648,12 @@ source "drivers/video/bridge/Kconfig"
source "drivers/video/imx/Kconfig"
+config VIDEO_MXS
+ bool "Enable video support on i.MX28/i.MX6UL/i.MX7 SoCs"
+ depends on DM_VIDEO
+ help
+ Enable framebuffer driver for i.MX28/i.MX6UL/i.MX7 processors
+
config VIDEO_NX
bool "Enable video support on Nexell SoC"
depends on ARCH_S5P6818 || ARCH_S5P4418
diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c
index 7aa6f17d61..7df7d57e6e 100644
--- a/drivers/video/cfb_console.c
+++ b/drivers/video/cfb_console.c
@@ -78,10 +78,6 @@
#include <dm/ofnode.h>
#include <linux/compiler.h>
-#if defined(CONFIG_VIDEO_MXS)
-#define VIDEO_FB_16BPP_WORD_SWAP
-#endif
-
/*
* Include video_fb.h after definitions of VIDEO_HW_RECTFILL etc.
*/