Skip to content

Commit a91c406

Browse files
Finn Thaingeertu
authored andcommitted
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>
1 parent cfbf8d4 commit a91c406

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

‎arch/m68k/kernel/head.S‎

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,6 @@
275275

276276
#ifdef CONFIG_FRAMEBUFFER_CONSOLE
277277
#define CONSOLE
278-
#define CONSOLE_PENGUIN
279278
#endif
280279

281280
#ifdef CONFIG_EARLY_PRINTK
@@ -907,15 +906,15 @@ L(nothp):
907906
*/
908907
#ifdef CONFIG_MAC
909908
is_not_mac(L(nocon))
910-
#ifdef CONSOLE
909+
# ifdef CONSOLE
911910
console_init
912-
#ifdef CONSOLE_PENGUIN
911+
# ifdef CONFIG_LOGO
913912
console_put_penguin
914-
#endif /* CONSOLE_PENGUIN */
913+
# endif /* CONFIG_LOGO */
915914
console_put_stats
916-
#endif /* CONSOLE */
915+
# endif /* CONSOLE */
917916
L(nocon):
918-
#endif /* CONFIG_MAC */
917+
#endif /* CONFIG_MAC */
919918

920919

921920
putc '\n'
@@ -3456,7 +3455,7 @@ func_start console_put_stats,%a0/%d7
34563455

34573456
func_return console_put_stats
34583457

3459-
#ifdef CONSOLE_PENGUIN
3458+
#ifdef CONFIG_LOGO
34603459
func_start console_put_penguin,%a0-%a1/%d0-%d7
34613460
/*
34623461
* Get 'that_penguin' onto the screen in the upper right corner

0 commit comments

Comments
 (0)