Skip to content

Commit

Permalink
video/logo: add and enable brain logo
Browse files Browse the repository at this point in the history
  • Loading branch information
tka3220 authored and puhitaku committed Jan 17, 2021
1 parent cac9c9d commit 5d95482
Show file tree
Hide file tree
Showing 6 changed files with 1,136 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm/configs/brain_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions drivers/video/logo/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions drivers/video/logo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 4 additions & 0 deletions drivers/video/logo/logo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5d95482

Please sign in to comment.