diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2014-02-14 23:45:29 -0500 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2014-03-10 16:15:06 -0400 |
commit | a91c406c742b3fc28969ec3316c9588acde66e5a (patch) | |
tree | 90eb129b7608f57b3ee6b3b1336945cf9c93d980 /arch/m68k/kernel/head.S | |
parent | cfbf8d4857c26a8a307fb7cd258074c9dcd8c691 (diff) |
m68k: Remove CONSOLE_PENGUIN macro, adopt CONFIG_LOGO
Allow CONFIG_LOGO to enable/disable the head.S penguin logo as well as the
framebuffer console logo. This should save a few bytes. It also gets rid
of the obscure CONSOLE_PENGUIN macro.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/kernel/head.S')
-rw-r--r-- | arch/m68k/kernel/head.S | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/arch/m68k/kernel/head.S b/arch/m68k/kernel/head.S index 4c99bab7e664..cea4af91cbd3 100644 --- a/arch/m68k/kernel/head.S +++ b/arch/m68k/kernel/head.S | |||
@@ -275,7 +275,6 @@ | |||
275 | 275 | ||
276 | #ifdef CONFIG_FRAMEBUFFER_CONSOLE | 276 | #ifdef CONFIG_FRAMEBUFFER_CONSOLE |
277 | #define CONSOLE | 277 | #define CONSOLE |
278 | #define CONSOLE_PENGUIN | ||
279 | #endif | 278 | #endif |
280 | 279 | ||
281 | #ifdef CONFIG_EARLY_PRINTK | 280 | #ifdef CONFIG_EARLY_PRINTK |
@@ -907,15 +906,15 @@ L(nothp): | |||
907 | */ | 906 | */ |
908 | #ifdef CONFIG_MAC | 907 | #ifdef CONFIG_MAC |
909 | is_not_mac(L(nocon)) | 908 | is_not_mac(L(nocon)) |
910 | #ifdef CONSOLE | 909 | # ifdef CONSOLE |
911 | console_init | 910 | console_init |
912 | #ifdef CONSOLE_PENGUIN | 911 | # ifdef CONFIG_LOGO |
913 | console_put_penguin | 912 | console_put_penguin |
914 | #endif /* CONSOLE_PENGUIN */ | 913 | # endif /* CONFIG_LOGO */ |
915 | console_put_stats | 914 | console_put_stats |
916 | #endif /* CONSOLE */ | 915 | # endif /* CONSOLE */ |
917 | L(nocon): | 916 | L(nocon): |
918 | #endif /* CONFIG_MAC */ | 917 | #endif /* CONFIG_MAC */ |
919 | 918 | ||
920 | 919 | ||
921 | putc '\n' | 920 | putc '\n' |
@@ -3456,7 +3455,7 @@ func_start console_put_stats,%a0/%d7 | |||
3456 | 3455 | ||
3457 | func_return console_put_stats | 3456 | func_return console_put_stats |
3458 | 3457 | ||
3459 | #ifdef CONSOLE_PENGUIN | 3458 | #ifdef CONFIG_LOGO |
3460 | func_start console_put_penguin,%a0-%a1/%d0-%d7 | 3459 | func_start console_put_penguin,%a0-%a1/%d0-%d7 |
3461 | /* | 3460 | /* |
3462 | * Get 'that_penguin' onto the screen in the upper right corner | 3461 | * Get 'that_penguin' onto the screen in the upper right corner |