public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Igor Opaniuk <igor.opaniuk@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH v1 3/9] toradex: drop legacy show_boot_logo function and use splashscreen
Date: Mon, 14 Sep 2020 10:51:02 +0300	[thread overview]
Message-ID: <20200914075108.14537-4-igor.opaniuk@gmail.com> (raw)
In-Reply-To: <20200914075108.14537-1-igor.opaniuk@gmail.com>

From: Igor Opaniuk <igor.opaniuk@toradex.com>

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>
---

 board/toradex/common/tdx-common.c | 19 -------------------
 1 file changed, 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 */
-- 
2.17.1

  parent reply	other threads:[~2020-09-14  7:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-14  7:50 [PATCH v1 0/9] toradex: Misc fixes for v2020.10 Igor Opaniuk
2020-09-14  7:51 ` [PATCH v1 1/9] colibri-imx6ull: use splashcreen value instead of legacy function Igor Opaniuk
2020-09-14  7:51 ` [PATCH v1 2/9] colibri_imx7: " Igor Opaniuk
2020-09-14  7:51 ` Igor Opaniuk [this message]
2020-09-14  7:51 ` [PATCH v1 4/9] colibri_imx7: wrap video specific funcs with ifdefs Igor Opaniuk
2020-09-14  7:51 ` [PATCH v1 5/9] colibri-imx6ull: use preboot for fdtfile evaluation Igor Opaniuk
2020-09-14  7:51 ` [PATCH v1 6/9] colibri_vf: " Igor Opaniuk
2020-09-14  7:51 ` [PATCH v1 7/9] colibri_imx7: " Igor Opaniuk
2020-09-14  7:51 ` [PATCH v1 8/9] colibri_imx6: provide fdtfile in env instead of setting it in runtime Igor Opaniuk
2020-09-14  7:51 ` [PATCH v1 9/9] apalis_imx6: " Igor Opaniuk
2020-09-16 10:00 ` [PATCH v1 0/9] toradex: Misc fixes for v2020.10 Igor Opaniuk
2020-09-16 10:09   ` Stefano Babic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200914075108.14537-4-igor.opaniuk@gmail.com \
    --to=igor.opaniuk@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox