summaryrefslogtreecommitdiff
path: root/board/freescale/mx6ul_14x14_evk
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2019-09-23 18:05:05 +0200
committerStefano Babic <sbabic@denx.de>2019-10-08 16:36:36 +0200
commit0a1a45b7d67b548d504f4e42359338a0bd4dfcee (patch)
treed3012302fe8f0eb4e2c633968476c4a329c63ab5 /board/freescale/mx6ul_14x14_evk
parent5b20d141f209a62596f38ee42b0622280636a7ae (diff)
imx: mx6ul_14x14_evk: fix link issue
Since recent splash changes common code for splashscreen logo should be used instead of adding duplicated code under board directories. mx6ul_9x9_evk and mx6ul_14x14_evk configurations used old board specific logo code and do not link, fix them. Signed-off-by: Anatolij Gustschin <agust@denx.de> Acked-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'board/freescale/mx6ul_14x14_evk')
-rw-r--r--board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c19
1 files changed, 2 insertions, 17 deletions
diff --git a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c
index 8e5f365d35..c98e98b485 100644
--- a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c
+++ b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c
@@ -28,10 +28,6 @@
#include "../common/pfuze.h"
#include <usb.h>
#include <usb/ehci-ci.h>
-#ifdef CONFIG_DM_VIDEO
-#include <bmp_logo_data.h>
-#include <video.h>
-#endif
DECLARE_GLOBAL_DATA_PTR;
@@ -449,6 +445,8 @@ static int setup_lcd(void)
return 0;
}
+#else
+static inline int setup_lcd(void) { return 0; }
#endif
int board_early_init_f(void)
@@ -505,21 +503,8 @@ int board_late_init(void)
env_set("board_rev", "14X14");
#endif
-#if defined(CONFIG_DM_VIDEO)
- struct udevice *dev;
- int ret;
-
- ret = uclass_get_device(UCLASS_VIDEO, 0, &dev);
- if (ret)
- return ret;
-
setup_lcd();
- ret = video_bmp_display(dev, (ulong)bmp_logo_bitmap, 0, 0, true);
- if (ret)
- return ret;
-#endif
-
return 0;
}