* [PATCH] splash.c: Add that .png files are suitable as splash images.
@ 2014-07-03 13:16 Robert P. J. Day
2014-07-04 5:34 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2014-07-03 13:16 UTC (permalink / raw)
To: U-Boot Version 2 (barebox)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
---
diff --git a/commands/splash.c b/commands/splash.c
index 5d0c0ad..2ce1bdd 100644
--- a/commands/splash.c
+++ b/commands/splash.c
@@ -78,8 +78,9 @@ static int do_splash(int argc, char *argv[])
}
BAREBOX_CMD_HELP_START(splash)
-BAREBOX_CMD_HELP_TEXT("This command displays a graphics in the bitmap (.bmp) format on the")
-BAREBOX_CMD_HELP_TEXT("framebuffer. Currently images with 8 and 24 bit color depth are supported.")
+BAREBOX_CMD_HELP_TEXT("This command displays a graphics image of either bitmap (.bmp) format")
+BAREBOX_CMD_HELP_TEXT("or Portable Network Graphics (.png) format on the framebuffer.")
+BAREBOX_CMD_HELP_TEXT("Currently images with 8 and 24 bit color depth are supported.")
BAREBOX_CMD_HELP_TEXT("")
BAREBOX_CMD_HELP_TEXT("Options:")
BAREBOX_CMD_HELP_OPT ("-f FB\t", "framebuffer device (default /dev/fb0)")
@@ -91,7 +92,7 @@ BAREBOX_CMD_HELP_END
BAREBOX_CMD_START(splash)
.cmd = do_splash,
- BAREBOX_CMD_DESC("display a BMP image")
+ BAREBOX_CMD_DESC("display a BMP or PNG splash image")
BAREBOX_CMD_OPTS("[-fxyno] FILE")
BAREBOX_CMD_GROUP(CMD_GRP_CONSOLE)
BAREBOX_CMD_HELP(cmd_splash_help)
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] splash.c: Add that .png files are suitable as splash images.
2014-07-03 13:16 [PATCH] splash.c: Add that .png files are suitable as splash images Robert P. J. Day
@ 2014-07-04 5:34 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2014-07-04 5:34 UTC (permalink / raw)
To: Robert P. J. Day; +Cc: U-Boot Version 2 (barebox)
On Thu, Jul 03, 2014 at 09:16:17AM -0400, Robert P. J. Day wrote:
>
> Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Applied, thanks
Sascha
>
> ---
>
> diff --git a/commands/splash.c b/commands/splash.c
> index 5d0c0ad..2ce1bdd 100644
> --- a/commands/splash.c
> +++ b/commands/splash.c
> @@ -78,8 +78,9 @@ static int do_splash(int argc, char *argv[])
> }
>
> BAREBOX_CMD_HELP_START(splash)
> -BAREBOX_CMD_HELP_TEXT("This command displays a graphics in the bitmap (.bmp) format on the")
> -BAREBOX_CMD_HELP_TEXT("framebuffer. Currently images with 8 and 24 bit color depth are supported.")
> +BAREBOX_CMD_HELP_TEXT("This command displays a graphics image of either bitmap (.bmp) format")
> +BAREBOX_CMD_HELP_TEXT("or Portable Network Graphics (.png) format on the framebuffer.")
> +BAREBOX_CMD_HELP_TEXT("Currently images with 8 and 24 bit color depth are supported.")
> BAREBOX_CMD_HELP_TEXT("")
> BAREBOX_CMD_HELP_TEXT("Options:")
> BAREBOX_CMD_HELP_OPT ("-f FB\t", "framebuffer device (default /dev/fb0)")
> @@ -91,7 +92,7 @@ BAREBOX_CMD_HELP_END
>
> BAREBOX_CMD_START(splash)
> .cmd = do_splash,
> - BAREBOX_CMD_DESC("display a BMP image")
> + BAREBOX_CMD_DESC("display a BMP or PNG splash image")
> BAREBOX_CMD_OPTS("[-fxyno] FILE")
> BAREBOX_CMD_GROUP(CMD_GRP_CONSOLE)
> BAREBOX_CMD_HELP(cmd_splash_help)
>
> --
>
> ========================================================================
> Robert P. J. Day Ottawa, Ontario, CANADA
> http://crashcourse.ca
>
> Twitter: http://twitter.com/rpjday
> LinkedIn: http://ca.linkedin.com/in/rpjday
> ========================================================================
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-04 5:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-03 13:16 [PATCH] splash.c: Add that .png files are suitable as splash images Robert P. J. Day
2014-07-04 5:34 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox