Skip to contentSkip to conversation

video/logo: add support for ARC Tux logo on framebuffer console

PATCH New Mischa Jonker 1 participant 1 message Apr 18, 2013 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 video/logo: add support for ARC Tux logo on framebuffer console

From: Mischa Jonker <[email protected]>

This patch adds a 224 color logo for use on ARC frame buffer devices. Credits of Tux go to [email protected] and The GIMP.

---
 drivers/video/logo/Kconfig              |    5 +
 drivers/video/logo/Makefile             |    1 +
 drivers/video/logo/logo.c               |    4 +
 drivers/video/logo/logo_arc_clut224.ppm | 4003 +++++++++++++++++++++++++++++++
 include/linux/linux_logo.h              |    1 +
 5 files changed, 4014 insertions(+), 0 deletions(-)
 create mode 100644 drivers/video/logo/logo_arc_clut224.ppm
drivers/video/logo/Kconfig +5 -0
index 39ac49e..f59227d 100644
@@ -82,4 +82,9 @@ config LOGO_M32R_CLUT224
 	depends on M32R
 	default y
 
+config LOGO_ARC_CLUT224
+	bool "224-color ARC Linux logo"
+	depends on ARC
+	default y
+
 endif # LOGO
drivers/video/logo/Makefile +1 -0
index 3b43781..22378cc 100644
@@ -15,6 +15,7 @@ obj-$(CONFIG_LOGO_SUPERH_MONO)		+= logo_superh_mono.o
 obj-$(CONFIG_LOGO_SUPERH_VGA16)		+= logo_superh_vga16.o
 obj-$(CONFIG_LOGO_SUPERH_CLUT224)	+= logo_superh_clut224.o
 obj-$(CONFIG_LOGO_M32R_CLUT224)		+= logo_m32r_clut224.o
+obj-$(CONFIG_LOGO_ARC_CLUT224)		+= logo_arc_clut224.o
 
 obj-$(CONFIG_SPU_BASE)			+= logo_spe_clut224.o
 
drivers/video/logo/logo.c +4 -0
index 080c35b..178fd3b 100644
@@ -100,6 +100,10 @@ const struct linux_logo * __init_refok fb_find_logo(int depth)
 		/* M32R Linux logo */
 		logo = &logo_m32r_clut224;
 #endif
+#ifdef CONFIG_LOGO_ARC_CLUT224
+		/* ARC Linux logo */
+		logo = &logo_arc_clut224;
+#endif
 	}
 	return logo;
 }
drivers/video/logo/logo_arc_clut224.ppm new file +4003 -0

2,974 lines not on this page · raw message

include/linux/linux_logo.h +1 -0
index ca5bd91..3d1a6ba 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.7.0.4

Part of the diff is not shown here. View the raw message.