xref: /linux/drivers/video/logo/Kconfig (revision dfa6ce636cb8faeaef02b09c973400a410004edf)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Logo configuration
4#
5
6menuconfig LOGO
7	bool "Bootup logo"
8	depends on FB_CORE || SGI_NEWPORT_CONSOLE
9	help
10	  Enable and select frame buffer bootup logos.
11	  Monochrome logos will also be used by the DRM panic handler, if
12	  enabled.
13
14if LOGO
15
16config FB_LOGO_EXTRA
17	bool
18	depends on FB=y
19	default y if SPU_BASE
20
21config LOGO_LINUX_MONO
22	bool "Standard black and white Linux logo"
23	default y
24
25config LOGO_LINUX_MONO_FILE
26	string "Monochrome logo .pbm file"
27	depends on LOGO_LINUX_MONO
28	default "drivers/video/logo/logo_linux_mono.pbm"
29	help
30	  Takes a path to a monochromatic logo in the portable pixmap file
31	  format (.pbm). This defaults to the Tux penguin.
32
33	  For example, the below ImageMagick command can be used to reduce
34	  an image to black and white and convert it into a pbm file:
35
36	    magick source_image -compress none destination.pbm
37
38config LOGO_LINUX_VGA16
39	bool "Standard 16-color Linux logo"
40	default y
41
42config LOGO_LINUX_VGA16_FILE
43	string "16-color logo .ppm file"
44	depends on LOGO_LINUX_VGA16
45	default "drivers/video/logo/logo_linux_vga16.ppm"
46	help
47	  Takes a path to a logo in the portable pixmap file format (.ppm),
48	  using the 16 colors from the drivers/video/logo/clut_vga16.ppm
49	  palette. This defaults to the Tux penguin.
50
51	  For example, the below ImageMagick command can be used to reduce an
52	  image to the VGA 16 colors palette and convert into a ppm file:
53
54	    magick source_image -compress none \
55	      -remap drivers/video/logo/clut_vga16.ppm destination.ppm
56
57config LOGO_LINUX_CLUT224
58	bool "Standard 224-color Linux logo"
59	default y
60
61config LOGO_LINUX_CLUT224_FILE
62	string "224-color logo .ppm file"
63	depends on LOGO_LINUX_CLUT224
64	default "drivers/video/logo/logo_linux_clut224.ppm"
65	help
66	  Takes a path to a 224-color logo in the portable pixmap file
67	  format (.ppm). This defaults to the Tux penguin.
68
69	  For example, the below ImageMagick command can be used to reduce
70	  an image palette to 224 colors and convert it into a ppm file:
71
72	    magick source_image -compress none -colors 224 destination.ppm
73
74config LOGO_DEC_CLUT224
75	bool "224-color Digital Equipment Corporation Linux logo"
76	depends on MACH_DECSTATION || ALPHA
77	default y
78
79config LOGO_MAC_CLUT224
80	bool "224-color Macintosh Linux logo"
81	depends on MAC
82	default y
83
84config LOGO_PARISC_CLUT224
85	bool "224-color PA-RISC Linux logo"
86	depends on PARISC
87	default y
88
89config LOGO_SGI_CLUT224
90	bool "224-color SGI Linux logo"
91	depends on SGI_IP22 || SGI_IP27 || SGI_IP32
92	default y
93
94config LOGO_SUN_CLUT224
95	bool "224-color Sun Linux logo"
96	depends on SPARC
97	default y
98
99config LOGO_SUPERH_MONO
100	bool "Black and white SuperH Linux logo"
101	depends on SUPERH
102	default y
103
104config LOGO_SUPERH_VGA16
105	bool "16-color SuperH Linux logo"
106	depends on SUPERH
107	default y
108
109config LOGO_SUPERH_CLUT224
110	bool "224-color SuperH Linux logo"
111	depends on SUPERH
112	default y
113
114endif # LOGO
115