diff options
author | Anatolij Gustschin <agust@denx.de> | 2021-10-04 17:33:12 +0200 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2021-10-09 19:50:03 +0200 |
commit | 79c05335a9c101f0b54f2f378d0b08c9b765e1a3 (patch) | |
tree | 806f91ed4631e9cad350dce959937328ed2c05ac /drivers/video | |
parent | 450d937812c2419b830bb418f86594577809d02e (diff) |
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/Kconfig | 6 | ||||
-rw-r--r-- | drivers/video/cfb_console.c | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index b1f8a9c1e62..9f789a6a58a 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 7aa6f17d612..7df7d57e6ec 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. */ |