aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-01-23 07:04:08 -0700
committerAnatolij Gustschin <agust@denx.de>2022-03-28 20:17:07 +0200
commit1fa43cad862591fe8917a0c1fe2f21f062c7502b (patch)
treea17f830e6243917cd145007b1bee7bf0291ea0e7 /common
parent82975f8a9ec290b4cf2f9a228dd78761b35565ea (diff)
downloadu-boot-1fa43cad862591fe8917a0c1fe2f21f062c7502b.zip
u-boot-1fa43cad862591fe8917a0c1fe2f21f062c7502b.tar.gz
u-boot-1fa43cad862591fe8917a0c1fe2f21f062c7502b.tar.bz2
video: Drop references to CONFIG_VIDEO et al
Drop the Kconfigs which are not used and all references to them. In particular, this drops CONFIG_VIDEO to avoid confusion and allow us to eventually rename CONFIG_DM_VIDEO to CONFIG_VIDEO. Also drop the prototype for video_get_info_str() which is no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
Diffstat (limited to 'common')
-rw-r--r--common/fdt_support.c2
-rw-r--r--common/stdio.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/common/fdt_support.c b/common/fdt_support.c
index ea18ea3..8662bd2 100644
--- a/common/fdt_support.c
+++ b/common/fdt_support.c
@@ -1725,7 +1725,7 @@ int fdt_set_status_by_pathf(void *fdt, enum fdt_status status, const char *fmt,
return fdt_set_node_status(fdt, offset, status);
}
-#if defined(CONFIG_VIDEO) || defined(CONFIG_LCD)
+#if defined(CONFIG_LCD)
int fdt_add_edid(void *blob, const char *compat, unsigned char *edid_buf)
{
int noff;
diff --git a/common/stdio.c b/common/stdio.c
index 97f21ea..92161a0 100644
--- a/common/stdio.c
+++ b/common/stdio.c
@@ -367,8 +367,7 @@ int stdio_add_devices(void)
} else {
if (IS_ENABLED(CONFIG_LCD))
drv_lcd_init();
- if (IS_ENABLED(CONFIG_VIDEO) ||
- IS_ENABLED(CONFIG_VIDEO_VCXK))
+ if (IS_ENABLED(CONFIG_VIDEO_VCXK))
drv_video_init();
}