]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
video/logo: move logo selection logic to Kconfig
authorVincent Mailhol <mailhol@kernel.org>
Thu, 8 Jan 2026 19:04:55 +0000 (20:04 +0100)
committerHelge Deller <deller@gmx.de>
Sat, 14 Feb 2026 10:09:46 +0000 (11:09 +0100)
commitac6d088b3b20f9efb883e8302288276db3bdc2b8
tree29684b180e93c0d25083c35a329f01b1ea496980
parent3092718e1280fcbdfc4f4b4a3258be8992a0c244
video/logo: move logo selection logic to Kconfig

Now that the path to the logo file can be directly entered in Kbuild,
there is no more need to handle all the logo file selection in the
Makefile and the C files.

The only exception is the logo_spe_clut224 which is only used by the
Cell processor (found for example in the Playstation 3) [1]. This
extra logo uses its own different image which shows up on a separate
line just below the normal logo. Because the extra logo uses a
different image, it can not be factorized under the custom logo logic.

Move all the logo file selection logic to Kbuild (except from the
logo_spe_clut224.ppm), this done, clean-up the C code to only leave
one entry for each logo type (monochrome, 16-colors and 224-colors).

[1] Cell SPE logos
Link: https://lore.kernel.org/all/20070710122702.765654000@pademelon.sonytel.be/
Signed-off-by: Vincent Mailhol <mailhol@kernel.org>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/logo/Kconfig
drivers/video/logo/Makefile
drivers/video/logo/logo.c
include/linux/linux_logo.h