Skip to content

Commit 8285212

Browse files
dlechProject516
authored andcommitted
ev3dev boot logo
1 parent 1d0ba8d commit 8285212

File tree

6 files changed

+598
-0
lines changed

6 files changed

+598
-0
lines changed

drivers/video/logo/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,16 @@ config LOGO_LINUX_CLUT224
3030
bool "Standard 224-color Linux logo"
3131
default y
3232

33+
config LOGO_EV3DEV_MONO
34+
bool "ev3dev black and white logo"
35+
depends on MACH_DAVINCI_LEGOEV3
36+
default y
37+
38+
config LOGO_EV3DEV_CLUT224
39+
bool "ev3dev color logo"
40+
depends on MACH_DAVINCI_LEGOEV3
41+
default y
42+
3343
config LOGO_DEC_CLUT224
3444
bool "224-color Digital Equipment Corporation Linux logo"
3545
depends on MACH_DECSTATION || ALPHA

drivers/video/logo/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ obj-$(CONFIG_LOGO) += logo.o
55
obj-$(CONFIG_LOGO_LINUX_MONO) += logo_linux_mono.o
66
obj-$(CONFIG_LOGO_LINUX_VGA16) += logo_linux_vga16.o
77
obj-$(CONFIG_LOGO_LINUX_CLUT224) += logo_linux_clut224.o
8+
obj-$(CONFIG_LOGO_EV3DEV_MONO) += logo_ev3dev_mono.o
9+
obj-$(CONFIG_LOGO_EV3DEV_CLUT224) += logo_ev3dev_clut224.o
810
obj-$(CONFIG_LOGO_DEC_CLUT224) += logo_dec_clut224.o
911
obj-$(CONFIG_LOGO_MAC_CLUT224) += logo_mac_clut224.o
1012
obj-$(CONFIG_LOGO_PARISC_CLUT224) += logo_parisc_clut224.o

drivers/video/logo/logo.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ const struct linux_logo * __ref fb_find_logo(int depth)
4949
return NULL;
5050

5151
if (depth >= 1) {
52+
#ifdef CONFIG_LOGO_EV3DEV_MONO
53+
logo = &logo_ev3dev_mono;
54+
#endif
5255
#ifdef CONFIG_LOGO_LINUX_MONO
5356
/* Generic Linux logo */
5457
logo = &logo_linux_mono;
@@ -71,6 +74,9 @@ const struct linux_logo * __ref fb_find_logo(int depth)
7174
}
7275

7376
if (depth >= 8) {
77+
#ifdef CONFIG_LOGO_EV3DEV_CLUT224
78+
logo = &logo_ev3dev_clut224;
79+
#endif
7480
#ifdef CONFIG_LOGO_LINUX_CLUT224
7581
/* Generic Linux logo */
7682
logo = &logo_linux_clut224;

0 commit comments

Comments
 (0)