summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2020-05-08 07:56:59 -0700
committerYe Li <ye.li@nxp.com>2020-05-11 02:08:58 -0700
commitd6e6b1293f89b8a26033ac2f82151985f70e4036 (patch)
treed65f0f22b6f74afdf1177dd3a381080d8a7c150d /common
parentb92aa7b47396a9bca6332556201e0b96c7c5f9c1 (diff)
MLK-23964-1 video: Add video link framework
The video link framework bases a port-endpoint gragh in DTB to connect the video components in uclass like: video, display, bridge, and panel. Using the port-endpoint gragh, we manage multiple video link and user can select one of them for splash screen. Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'common')
-rw-r--r--common/stdio.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/stdio.c b/common/stdio.c
index 54ecc9b53d..661d643748 100644
--- a/common/stdio.c
+++ b/common/stdio.c
@@ -17,6 +17,7 @@
#include <stdio_dev.h>
#include <serial.h>
#include <splash.h>
+#include <video_link.h>
#if defined(CONFIG_SYS_I2C)
#include <i2c.h>
@@ -345,6 +346,10 @@ int stdio_add_devices(void)
#else
#endif
#ifdef CONFIG_DM_VIDEO
+
+#ifdef CONFIG_VIDEO_LINK
+ video_link_init();
+#endif
/*
* If the console setting is not in environment variables then
* console_init_r() will not be calling iomux_doenv() (which calls