diff options
author | Igor Opaniuk <igor.opaniuk@toradex.com> | 2020-09-14 11:01:06 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-09-17 14:39:09 +0200 |
commit | e6fd30dd9eef8bdfec2625c1cb8f73d5a6b3e0a1 (patch) | |
tree | b1af3eec6b218014ec786eccc71079f8c80c6652 /board | |
parent | 1310660f5cd28a0a65223b8bb87d4ddf1a07089c (diff) |
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>
Diffstat (limited to 'board')
-rw-r--r-- | board/toradex/common/tdx-common.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/board/toradex/common/tdx-common.c b/board/toradex/common/tdx-common.c index fe5295f94b..a3d287ed5e 100644 --- a/board/toradex/common/tdx-common.c +++ b/board/toradex/common/tdx-common.c @@ -203,22 +203,3 @@ int ft_common_board_setup(void *blob, struct bd_info *bd) } #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 */ |