video/logo: add and enable brain logo

This commit is contained in:
tka3220 2021-01-17 00:49:56 +09:00 committed by Takumi Sueda
parent 72518d2395
commit f0d9cb1e56
6 changed files with 1136 additions and 0 deletions

View File

@ -96,6 +96,9 @@ CONFIG_FB_MODE_HELPERS=y
CONFIG_LCD_CLASS_DEVICE=y
CONFIG_BACKLIGHT_PWM=y
CONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not set
# CONFIG_LOGO_LINUX_VGA16 is not set
# CONFIG_LOGO_LINUX_CLUT224 is not set
CONFIG_SOUND=y
CONFIG_SND=y
CONFIG_SND_SOC=y

View File

@ -68,4 +68,8 @@ config LOGO_SUPERH_CLUT224
depends on SUPERH
default y
config LOGO_BRAIN_CLUT224
bool "224-color Brain Linux logo"
default y
endif # LOGO

View File

@ -13,6 +13,7 @@ obj-$(CONFIG_LOGO_SUN_CLUT224) += logo_sun_clut224.o
obj-$(CONFIG_LOGO_SUPERH_MONO) += logo_superh_mono.o
obj-$(CONFIG_LOGO_SUPERH_VGA16) += logo_superh_vga16.o
obj-$(CONFIG_LOGO_SUPERH_CLUT224) += logo_superh_clut224.o
obj-$(CONFIG_LOGO_BRAIN_CLUT224) += logo_brain_clut224.o
obj-$(CONFIG_SPU_BASE) += logo_spe_clut224.o

View File

@ -99,6 +99,10 @@ const struct linux_logo * __ref fb_find_logo(int depth)
#ifdef CONFIG_LOGO_SUPERH_CLUT224
/* SuperH Linux logo */
logo = &logo_superh_clut224;
#endif
#ifdef CONFIG_LOGO_BRAIN_CLUT224
/* Brain Hackers logo */
logo = &logo_brain_clut224;
#endif
}
return logo;

File diff suppressed because it is too large Load Diff

View File

@ -45,6 +45,7 @@ extern const struct linux_logo logo_superh_mono;
extern const struct linux_logo logo_superh_vga16;
extern const struct linux_logo logo_superh_clut224;
extern const struct linux_logo logo_spe_clut224;
extern const struct linux_logo logo_brain_clut224;
extern const struct linux_logo *fb_find_logo(int depth);
#ifdef CONFIG_FB_LOGO_EXTRA