mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
colibri-imx6ull: support building with DM_VIDEO=y
1. This fixes linking issues when building with DM_VIDEO enabled mxsfb driver. 2. Provide proper defines for both VIDEO=y and DM_VIDEO=y. Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
This commit is contained in:
committed by
Anatolij Gustschin
parent
2b600bb833
commit
9de5eb23dc
@@ -554,7 +554,7 @@ const struct boot_mode soc_boot_modes[] = {
|
|||||||
void reset_misc(void)
|
void reset_misc(void)
|
||||||
{
|
{
|
||||||
#ifndef CONFIG_SPL_BUILD
|
#ifndef CONFIG_SPL_BUILD
|
||||||
#ifdef CONFIG_VIDEO_MXS
|
#if defined(CONFIG_VIDEO_MXS) && !defined(CONFIG_DM_VIDEO)
|
||||||
lcdif_power_down();
|
lcdif_power_down();
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@@ -170,7 +170,7 @@
|
|||||||
#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_16M
|
#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_16M
|
||||||
#define DFU_DEFAULT_POLL_TIMEOUT 300
|
#define DFU_DEFAULT_POLL_TIMEOUT 300
|
||||||
|
|
||||||
#ifdef CONFIG_VIDEO
|
#if defined(CONFIG_VIDEO) || defined(CONFIG_DM_VIDEO)
|
||||||
#define CONFIG_VIDEO_MXS
|
#define CONFIG_VIDEO_MXS
|
||||||
#define MXS_LCDIF_BASE MX6UL_LCDIF1_BASE_ADDR
|
#define MXS_LCDIF_BASE MX6UL_LCDIF1_BASE_ADDR
|
||||||
#define CONFIG_VIDEO_LOGO
|
#define CONFIG_VIDEO_LOGO
|
||||||
|
Reference in New Issue
Block a user