diff options
author | Ye Li <ye.li@nxp.com> | 2018-09-09 22:08:11 -0700 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2018-09-11 21:55:49 -0700 |
commit | 2f56b7cb5155523a2be790b750b16e9d56efe1ae (patch) | |
tree | 0ab81c8737bb69184752e3d95e2fc968a551209b /arch | |
parent | 024b84b47f33ac49a6a477b7fdf7a10fa417b6b1 (diff) |
MLK-19526-4 imx8mq: Disable Splash screen for iMX8MQLite
Since iMX8MQLite has disabled DCSS and HDMI by fuse. We should check
it when initialize HDMI splash screen and exit.
Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/imx8m/video_common.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/imx8m/video_common.c b/arch/arm/mach-imx/imx8m/video_common.c index 26597dbc36..de2ffe33b6 100644 --- a/arch/arm/mach-imx/imx8m/video_common.c +++ b/arch/arm/mach-imx/imx8m/video_common.c @@ -709,6 +709,11 @@ int imx8m_fb_init(struct fb_videomode const *mode, { debug("entering %s()\n", __func__); + if (is_imx8mql()) { + printf("dcss is diabled on i.MX8MQL\n"); + return -EPERM; + } + if (disp > 1) { debug("Invalid disp parameter %d for imxdcss_fb_init()\n", disp); |