Adding Display support for splash screen.
Signed-off-by: Oliver Brown <oliver.brown@nxp.com>
obj-$(CONFIG_IMX_BOOTAUX) += imx_bootaux.o
obj-$(CONFIG_SYS_I2C_MXC) += i2c-mxv7.o
obj-$(CONFIG_SECURE_BOOT) += hab.o
+obj-$(CONFIG_IMX_VIDEO_SKIP) += video.o
obj-y += cpu.o
endif
#include <asm/arch/clock.h>
#include <asm/arch/sys_proto.h>
#include <asm/arch/crm_regs.h>
+#if defined(CONFIG_VIDEO_IMXDCSS)
+#include <asm/arch/video_common.h>
+#endif
#include <imx_thermal.h>
#include <ipu_pixfmt.h>
#include <thermal.h>
#if defined(CONFIG_VIDEO_MXS)
lcdif_power_down();
#endif
+#if defined(CONFIG_VIDEO_IMXDCSS)
+ imx8m_fb_disable();
+#endif
}
#ifndef CONFIG_IMX8M
/*
* Copyright (C) 2016 Freescale Semiconductor, Inc.
+ * Copyright 2017-2018 NXP
*
* SPDX-License-Identifier: GPL-2.0+
*/
#elif defined(CONFIG_VIDEO_IMXDPUV1)
ret = imxdpuv1_fb_init(&displays[i].mode, displays[i].bus,
displays[i].pixfmt);
+#elif defined(CONFIG_VIDEO_IMXDCSS)
+ ret = imx8m_fb_init(&displays[i].mode, displays[i].bus,
+ displays[i].pixfmt);
#elif defined(CONFIG_VIDEO_MXS)
ret = mxs_lcd_panel_setup(displays[i].mode,
displays[i].pixfmt,
/*
* Copyright (C) 2016 Freescale Semiconductor, Inc.
+ * Copyright 2017-2018 NXP
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <asm/arch/video_common.h>
#elif defined(CONFIG_VIDEO_MXS)
#include <mxsfb.h>
+#elif defined(CONFIG_VIDEO_IMXDCSS)
+#include <asm/arch/video_common.h>
#endif
struct display_info_t {