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 03:22:40 -0700
commitff58ce2115d82dabea5f2e6e2a1e820f6d0e5ff3 (patch)
treed65f0f22b6f74afdf1177dd3a381080d8a7c150d /common
parent81d99bb4ee22c61fe0c33509cd673b01c9bbe2c8 (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> (cherry picked from commit d6e6b1293f89b8a26033ac2f82151985f70e4036)
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