colibri_imx7: use splashcreen value instead of legacy function
authorIgor Opaniuk <igor.opaniuk@toradex.com>
Mon, 14 Sep 2020 08:01:05 +0000 (11:01 +0300)
committerStefano Babic <sbabic@denx.de>
Thu, 17 Sep 2020 12:39:09 +0000 (14:39 +0200)
Set proper splashscreen env value instead of calling legacy function
to show embed boot logo.

Fixes: 195011b24d("colibri-imx7: fix splash logo drawing")
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
board/toradex/colibri_imx7/colibri_imx7.c
include/configs/colibri_imx7.h

index 14df3fc..b087cb0 100644 (file)
@@ -356,8 +356,6 @@ int board_late_init(void)
 {
 #if defined(CONFIG_DM_VIDEO)
        setup_lcd();
-
-       show_boot_logo();
 #endif
        return 0;
 }
index 79aa735..8cc5a36 100644 (file)
                "fatload ${interface} 0:1 ${loadaddr} " \
                "${board}/flash_blk.img && source ${loadaddr}\0" \
        "splashpos=m,m\0" \
+       "splashimage=" __stringify(CONFIG_LOADADDR) "\0" \
        "videomode=video=ctfb:x:640,y:480,depth:18,pclk:39722,le:48,ri:16,up:33,lo:10,hs:96,vs:2,sync:0,vmode:0\0" \
        "updlevel=2\0"