mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
Nowadays, nearly all systems have a color depth of eight or more and are thus able to display the clut224 logo. This means that the monochrome and vga16 logos will never be displayed on an average machine and are thus just a waste of bytes. Set CONFIG_LOGO_LINUX_MONO and CONFIG_LOGO_LINUX_VGA16 configuration symbols to no by default. Signed-off-by: Vincent Mailhol <mailhol@kernel.org> Signed-off-by: Helge Deller <deller@gmx.de>
80 lines
2.5 KiB
Plaintext
80 lines
2.5 KiB
Plaintext
# 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
|