aboutsummaryrefslogtreecommitdiff
path: root/drivers/video/logo/Kconfig
blob: cda15b95891ed3a89c7cbf3f9b5dc87f48e21bb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# SPDX-License-Identifier: GPL-2.0-only
#
# Logo configuration
#

menuconfig LOGO
	bool "Bootup logo"
	depends on FB_CORE || SGI_NEWPORT_CONSOLE
	help
	  Enable and select frame buffer bootup logos.
	  Monochrome logos will also be used by the DRM panic handler, if
	  enabled.

if LOGO

config FB_LOGO_EXTRA
	bool
	depends on FB=y
	default y if SPU_BASE

config LOGO_LINUX_MONO
	bool "Standard black and white Linux logo"

config LOGO_LINUX_MONO_FILE
	string "Monochrome logo .pbm file"
	depends on LOGO_LINUX_MONO
	default "drivers/video/logo/logo_superh_mono.pbm" if SUPERH
	default "drivers/video/logo/logo_linux_mono.pbm"
	help
	  Takes a path to a monochromatic logo in the portable pixmap file
	  format (.pbm). This defaults to the Tux penguin.

	  For example, the below ImageMagick command can be used to reduce
	  an image to black and white and convert it into a pbm file:

	    magick source_image -compress none destination.pbm

config LOGO_LINUX_VGA16
	bool "Standard 16-color Linux logo"

config LOGO_LINUX_VGA16_FILE
	string "16-color logo .ppm file"
	depends on LOGO_LINUX_VGA16
	default "drivers/video/logo/logo_superh_vga16.ppm" if SUPERH
	default "drivers/video/logo/logo_linux_vga16.ppm"
	help
	  Takes a path to a logo in the portable pixmap file format (.ppm),
	  using the 16 colors from the drivers/video/logo/clut_vga16.ppm
	  palette. This defaults to the Tux penguin.

	  For example, the below ImageMagick command can be used to reduce an
	  image to the VGA 16 colors palette and convert into a ppm file:

	    magick source_image -compress none \
	      -remap drivers/video/logo/clut_vga16.ppm destination.ppm

config LOGO_LINUX_CLUT224
	bool "Standard 224-color Linux logo"
	default y

config LOGO_LINUX_CLUT224_FILE
	string "224-color logo .ppm file"
	depends on LOGO_LINUX_CLUT224
	default "drivers/video/logo/logo_dec_clut224.ppm" if MACH_DECSTATION || ALPHA
	default "drivers/video/logo/logo_parisc_clut224.ppm" if PARISC
	default "drivers/video/logo/logo_sgi_clut224.ppm" if SGI_IP22 || SGI_IP27 || SGI_IP32
	default "drivers/video/logo/logo_sun_clut224.ppm" if SPARC
	default "drivers/video/logo/logo_superh_clut224.ppm" if SUPERH
	default "drivers/video/logo/logo_linux_clut224.ppm"
	help
	  Takes a path to a 224-color logo in the portable pixmap file
	  format (.ppm). This defaults to the Tux penguin.

	  For example, the below ImageMagick command can be used to reduce
	  an image palette to 224 colors and convert it into a ppm file:

	    magick source_image -compress none -colors 224 destination.ppm

endif # LOGO