From: Rolland Dudemaine <rolland.dudemaine@msg-software.com>
To: mj@ucw.cz, linux-kernel@vger.kernel.org
Subject: boot logo size patch
Date: Thu, 16 May 2002 16:43:11 +0000 [thread overview]
Message-ID: <3CE3E19F.5000800@msg-software.com> (raw)
Hello,
For a *long* time, the boot logo has stayed in the kernel at many
places. Recently, it has been cleaned up to reduce the number of
identical logos. Along with the logo data, the LINUX_LOGO_COLORS have
been moved to each linux_logo.h file.
However, the image size still remains in fbcon.c . It's too bad that
this is not separated in each linux_logo.h file, because that would
allow easy logo changing... (and having patched it a couple of times, I
know it IS working with other sizes than 80x80).
What I am proposing in this patch is moving LOGO_H and LOGO_W to each
linux_logo.h file. Here we go :
diff -urN linux.unpatched/drivers/video/fbcon.c linux/drivers/video/fbcon.c
--- linux.unpatched/drivers/video/fbcon.c Wed May 15 10:23:15 2002
+++ linux/drivers/video/fbcon.c Wed May 15 15:09:49 2002
@@ -110,8 +110,6 @@
# define DPRINTK(fmt, args...)
#endif
-#define LOGO_H 80
-#define LOGO_W 80
#define LOGO_LINE (LOGO_W/8)
struct display fb_display[MAX_NR_CONSOLES];
diff -urN linux.unpatched/include/asm-m68k/linux_logo.h
linux/include/asm-m68k/linux_logo.h
--- linux.unpatched/include/asm-m68k/linux_logo.h Tue Jun 12 17:39:50
2001
+++ linux/include/asm-m68k/linux_logo.h Wed May 15 15:13:16 2002
@@ -30,6 +30,9 @@
#define LINUX_LOGO_COLORS 185
+#define LOGO_H 80
+#define LOGO_W 80
+
#ifdef INCLUDE_LINUX_LOGO_DATA
unsigned char linux_logo_red[] __initdata = {
diff -urN linux.unpatched/include/asm-mips64/linux_logo.h
linux/include/asm-mips64/linux_logo.h
--- linux.unpatched/include/asm-mips64/linux_logo.h Sun Sep 9
17:43:02 2001
+++ linux/include/asm-mips64/linux_logo.h Wed May 15 15:09:49 2002
@@ -27,6 +27,9 @@
#define LINUX_LOGO_COLORS 187
+#define LOGO_H 80
+#define LOGO_W 80
+
#ifdef INCLUDE_LINUX_LOGO_DATA
unsigned char linux_logo_red[] __initdata = {
diff -urN linux.unpatched/include/asm-ppc/linux_logo.h
linux/include/asm-ppc/linux_logo.h
--- linux.unpatched/include/asm-ppc/linux_logo.h Tue Jun 12 02:15:27
2001
+++ linux/include/asm-ppc/linux_logo.h Wed May 15 15:09:49 2002
@@ -19,9 +19,6 @@
#define linux_logo_banner "Linux/PPC version " UTS_RELEASE
-#define LINUX_LOGO_HEIGHT 80
-#define LINUX_LOGO_WIDTH 80
-
#include <linux/linux_logo.h>
#endif /* __KERNEL__ */
diff -urN linux.unpatched/include/asm-ppc64/linux_logo.h
linux/include/asm-ppc64/linux_logo.h
--- linux.unpatched/include/asm-ppc64/linux_logo.h Tue May 7
11:30:04 2002
+++ linux/include/asm-ppc64/linux_logo.h Wed May 15 15:09:49 2002
@@ -20,7 +20,4 @@
#define linux_logo_banner "Linux/PPC-64 version " UTS_RELEASE
-#define LINUX_LOGO_HEIGHT 80
-#define LINUX_LOGO_WIDTH 80
-
#include <linux/linux_logo.h>
diff -urN linux.unpatched/include/asm-sh/linux_logo.h
linux/include/asm-sh/linux_logo.h
--- linux.unpatched/include/asm-sh/linux_logo.h Sat Sep 8 19:29:09 2001
+++ linux/include/asm-sh/linux_logo.h Wed May 15 15:09:49 2002
@@ -30,6 +30,9 @@
#define LINUX_LOGO_COLORS 160
+#define LOGO_H 80
+#define LOGO_W 80
+
#ifdef INCLUDE_LINUX_LOGO_DATA
unsigned char linux_logo_red[] __initdata = {
diff -urN linux.unpatched/include/asm-sparc/linux_logo.h
linux/include/asm-sparc/linux_logo.h
--- linux.unpatched/include/asm-sparc/linux_logo.h Tue Jun 12
18:08:46 2001
+++ linux/include/asm-sparc/linux_logo.h Wed May 15 15:09:49 2002
@@ -28,6 +28,9 @@
#define LINUX_LOGO_COLORS 221
+#define LOGO_H 80
+#define LOGO_W 80
+
#ifdef INCLUDE_LINUX_LOGO_DATA
unsigned char linux_logo_red[] __initdata = {
diff -urN linux.unpatched/include/asm-sparc64/linux_logo.h
linux/include/asm-sparc64/linux_logo.h
--- linux.unpatched/include/asm-sparc64/linux_logo.h Tue Jun 12
18:08:46 2001
+++ linux/include/asm-sparc64/linux_logo.h Wed May 15 15:09:49 2002
@@ -28,6 +28,9 @@
#define LINUX_LOGO_COLORS 221
+#define LOGO_H 80
+#define LOGO_W 80
+
#ifdef INCLUDE_LINUX_LOGO_DATA
unsigned char linux_logo_red[] __initdata = {
diff -urN linux.unpatched/include/linux/linux_logo.h
linux/include/linux/linux_logo.h
--- linux.unpatched/include/linux/linux_logo.h Wed May 15 15:40:58 2002
+++ linux/include/linux/linux_logo.h Wed May 15 15:12:25 2002
@@ -20,6 +20,9 @@
#ifndef __HAVE_ARCH_LINUX_LOGO
#define LINUX_LOGO_COLORS 187
+
+#define LOGO_H 80
+#define LOGO_W 80
#endif
#ifdef INCLUDE_LINUX_LOGO_DATA
As you can see, this also removes LINUX_LOGO_HEIGHT and LINUX_LOGO_WIDTH
from ppc config.
Hope this has come to the right man, and will be the beginning to my
small contribution to the linux kernel...
Best regards,
Rolland Dudemaine
next reply other threads:[~2002-05-16 14:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-16 16:43 Rolland Dudemaine [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-05-17 0:27 boot logo size patch Torrey Hoffman
2002-05-17 11:11 ` Geert Uytterhoeven
2002-05-17 18:39 Torrey Hoffman
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=3CE3E19F.5000800@msg-software.com \
--to=rolland.dudemaine@msg-software.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mj@ucw.cz \
/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