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>2022-04-06 18:03:45 +0800
commitd8fe6817d53aaf5e2dbef7432a27a536ecbb38e7 (patch)
tree820a322187535d5807464df3d2963105194e10f6 /common
parent9be6761bccd008de16191aed325004bd982f770f (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) (cherry picked from commit 0257e77fdae8faf7a00b3bc9f5c91f11de65f205) (cherry picked from commit 3d8e964596129d54d71ea104a1d0a51f76bbc92d) (cherry picked from commit 7cc8e2625df97f6b373d695397990fc5e2c69ca0)
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 063c659bbc..2cc22e801a 100644
--- a/common/stdio.c
+++ b/common/stdio.c
@@ -18,6 +18,8 @@
#include <stdio_dev.h>
#include <serial.h>
#include <splash.h>
+#include <video_link.h>
+
#include <i2c.h>
#include <asm/global_data.h>
#include <dm/device-internal.h>
@@ -340,6 +342,9 @@ int stdio_add_devices(void)
i2c_init_all();
#endif
if (IS_ENABLED(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