Skip to contentSkip to conversation

fbdev: Logo code fixes

PATCH In review Antonino A. Daplas 1 participant 1 message Feb 17, 2005 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 3/7 fbdev: Logo code fixes

This patch fixes a few bugs with the low level logo code.

1. Allow DEC Alpha machines to draw the DEC logo
2. Cleanup the logo directory on a make clean
3. Some makefile cleanups.

I have tested on my local machines. I like to be able to create the C files from the logos for only the ones we want to compile but I haven't figured out how to do that. That can wait. Please apply.

---

 Kconfig  |    2 +-
 Makefile |   41 +++++++++++++++++++----------------------
 logo.c   |    4 +++-
 3 files changed, 23 insertions(+), 24 deletions(-)
drivers/video/logo/Kconfig +1 -1
diff -Nru a/drivers/video/logo/Kconfig b/drivers/video/logo/Kconfig
@@ -25,7 +25,7 @@
 
 config LOGO_DEC_CLUT224
 	bool "224-color Digital Equipment Corporation Linux logo"
-	depends on LOGO && MACH_DECSTATION
+	depends on LOGO && (MACH_DECSTATION || ALPHA)
 	default y
 
 config LOGO_MAC_CLUT224
drivers/video/logo/Makefile +19 -22

54 lines not on this page · raw message

drivers/video/logo/logo.c +3 -1
diff -Nru a/drivers/video/logo/logo.c b/drivers/video/logo/logo.c
@@ -66,8 +66,10 @@
 		logo = &logo_linux_clut224;
 #endif
 #ifdef CONFIG_LOGO_DEC_CLUT224
-		/* DEC Linux logo on MIPS/MIPS64 */
+		/* DEC Linux logo on MIPS/MIPS64 or ALPHA */
+#ifndef CONFIG_ALPHA
 		if (mips_machgroup == MACH_GROUP_DEC)
+#endif
 			logo = &logo_dec_clut224;
 #endif
 #ifdef CONFIG_LOGO_MAC_CLUT224

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click