From: Jagan Teki <jagan@amarulasolutions.com>
To: u-boot@lists.denx.de
Subject: [PATCH v2 2/3] sunxi: Enable splash screen support
Date: Thu, 18 Jun 2020 01:54:36 +0530 [thread overview]
Message-ID: <20200617202437.301108-3-jagan@amarulasolutions.com> (raw)
In-Reply-To: <20200617202437.301108-1-jagan@amarulasolutions.com>
Enable splash screen support for sunxi platforms.
The splash screen image, sunxi.bmp would load left corner
on screen in 0,0 splash position. This is default legacy
logo position on sunxi platform and also it would be common
practice to have at 0,0 since the default sunx.bmp is nominal
size.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
Changes for v2:
- new patch
include/configs/sunxi-common.h | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 5b0bec0561..308d7a42aa 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -270,6 +270,15 @@ extern int soft_i2c_gpio_scl;
#endif /* CONFIG_VIDEO_SUNXI */
+#if CONFIG_IS_ENABLED(CMD_BMP)
+# define CONFIG_VIDEO_BMP_RLE8
+# define CONFIG_SPLASH_SCREEN
+# define CONFIG_SPLASH_SCREEN_ALIGN
+# define CONFIG_BMP_16BPP
+# define CONFIG_VIDEO_LOGO
+# define CONFIG_VIDEO_BMP_LOGO
+#endif
+
/* Ethernet support */
#ifdef CONFIG_USB_EHCI_HCD
@@ -475,6 +484,8 @@ extern int soft_i2c_gpio_scl;
#endif
#define CONSOLE_ENV_SETTINGS \
+ "splashpos=0,0\0" \
+ "splashimage=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
CONSOLE_STDIN_SETTINGS \
CONSOLE_STDOUT_SETTINGS
--
2.25.1
next prev parent reply other threads:[~2020-06-17 20:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-17 20:24 [PATCH v2 0/3] video: sunxi: Convert DM_VIDEO Jagan Teki
2020-06-17 20:24 ` [PATCH v2 1/3] logos: Add sunxi logo Jagan Teki
2020-06-18 7:16 ` Maxime Ripard
2020-06-18 13:04 ` Tom Rini
2020-06-17 20:24 ` Jagan Teki [this message]
2020-06-17 20:24 ` [PATCH v2 3/3] video: sunxi_display: Convert to DM_VIDEO Jagan Teki
2020-06-18 7:24 ` Maxime Ripard
2020-06-18 16:07 ` Jagan Teki
2020-06-18 17:13 ` Michael Nazzareno Trimarchi
2020-06-19 7:30 ` Maxime Ripard
2021-02-04 22:30 ` Andre Przywara
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=20200617202437.301108-3-jagan@amarulasolutions.com \
--to=jagan@amarulasolutions.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