mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-05 03:03:49 +00:00
toradex: drop legacy show_boot_logo function and use splashscreen
Drop show_boot_logo legacy function, as splashscreen functionality can be used instead. Fixes: d324189772("toradex: common: show boot logo") Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
This commit is contained in:
parent
1310660f5c
commit
e6fd30dd9e
1 changed files with 0 additions and 19 deletions
|
@ -203,22 +203,3 @@ int ft_common_board_setup(void *blob, struct bd_info *bd)
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* CONFIG_TDX_CFG_BLOCK */
|
#endif /* CONFIG_TDX_CFG_BLOCK */
|
||||||
|
|
||||||
#if defined(CONFIG_DM_VIDEO)
|
|
||||||
int show_boot_logo(void)
|
|
||||||
{
|
|
||||||
struct udevice *dev;
|
|
||||||
int ret;
|
|
||||||
int xpos, ypos;
|
|
||||||
|
|
||||||
splash_get_pos(&xpos, &ypos);
|
|
||||||
|
|
||||||
ret = uclass_get_device(UCLASS_VIDEO, 0, &dev);
|
|
||||||
if (ret)
|
|
||||||
return ret;
|
|
||||||
|
|
||||||
ret = video_bmp_display(dev, (ulong)bmp_logo_bitmap, xpos, ypos, true);
|
|
||||||
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
#endif /* CONFIG_DM_VIDEO */
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue