Skip to contentSkip to conversation

splash.c: Add that .png files are suitable as splash images.

PATCH Applied Robert P. J. Day 2 participants 2 messages Jul 3, 2014 – Jul 4, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 splash.c: Add that .png files are suitable as splash images.

---

commands/splash.c +4 -3
index 5d0c0ad..2ce1bdd 100644
@@ -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)
Signature · 12 lines
========================================================================
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 2 lines · Robert P. J. Day

Applied, thanks

Sascha

Quoted 44 lines

---

commands/splash.c +4 -3
index 5d0c0ad..2ce1bdd 100644
@@ -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)
Signature · 14 lines
-- 

========================================================================
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox