diff options
author | Igor Opaniuk <igor.opaniuk@toradex.com> | 2020-08-28 17:18:46 +0300 |
---|---|---|
committer | Igor Opaniuk <igor.opaniuk@toradex.com> | 2020-08-28 17:18:46 +0300 |
commit | 49ab056a710dc50f9a23fa54c8ddc5a88a38d8e0 (patch) | |
tree | 2b286eb8172eab25b7c5c90ecd42ab1952378bdd | |
parent | 91a3fa8081a3e63582cb106a44c90f17263dbb6b (diff) |
toradex: drop legacy show_boot_logo function and use splashscreen
Drop show_boot_logo legacy function, as splashscreen functionality can
be used instead.
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
-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 ae6489667f..fd3fd674a5 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, bd_t *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 */ |