SD(io)/(e)MMC: update mmc flow, continue commit-sha19896ff517b38c2c2db17980a71dca8cd2...
[firefly-linux-kernel-4.4.55.git] / include / linux / linux_logo.h
1 #ifndef _LINUX_LINUX_LOGO_H
2 #define _LINUX_LINUX_LOGO_H
3
4 /*
5  *  Linux logo to be displayed on boot
6  *
7  *  Copyright (C) 1996 Larry Ewing (lewing@isc.tamu.edu)
8  *  Copyright (C) 1996,1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
9  *  Copyright (C) 2001 Greg Banks <gnb@alphalink.com.au>
10  *  Copyright (C) 2001 Jan-Benedict Glaw <jbglaw@lug-owl.de>
11  *  Copyright (C) 2003 Geert Uytterhoeven <geert@linux-m68k.org>
12  *
13  *  Serial_console ascii image can be any size,
14  *  but should contain %s to display the version
15  */
16
17 #include <linux/init.h>
18
19
20 #define LINUX_LOGO_MONO         1       /* monochrome black/white */
21 #define LINUX_LOGO_VGA16        2       /* 16 colors VGA text palette */
22 #define LINUX_LOGO_CLUT224      3       /* 224 colors */
23 #define LINUX_LOGO_GRAY256      4       /* 256 levels grayscale */
24 #define LINUX_LOGO_bmp      5  /* truecolours*/
25
26
27 struct linux_logo {
28         int type;                       /* one of LINUX_LOGO_* */
29         unsigned int width;
30         unsigned int height;
31         unsigned int clutsize;          /* LINUX_LOGO_CLUT224 only */
32         const unsigned char *clut;      /* LINUX_LOGO_CLUT224 only */
33         const unsigned char *data;
34 };
35 extern const struct linux_logo logo_linux_lowerpower_clut224;
36 extern const struct linux_logo logo_linux_mono;
37 extern const struct linux_logo logo_linux_vga16;
38 extern const struct linux_logo logo_linux_clut224;
39
40 #ifdef CONFIG_LOGO_PIPO_CLUT224
41 extern const struct linux_logo logo_pipo_clut224;
42 #endif
43 extern const struct linux_logo logo_blackfin_vga16;
44 extern const struct linux_logo logo_blackfin_clut224;
45 extern const struct linux_logo logo_dec_clut224;
46 extern const struct linux_logo logo_mac_clut224;
47 extern const struct linux_logo logo_parisc_clut224;
48 extern const struct linux_logo logo_sgi_clut224;
49 extern const struct linux_logo logo_sun_clut224;
50 extern const struct linux_logo logo_superh_mono;
51 extern const struct linux_logo logo_superh_vga16;
52 extern const struct linux_logo logo_superh_clut224;
53 extern const struct linux_logo logo_m32r_clut224;
54 extern const struct linux_logo logo_spe_clut224;
55 extern const struct linux_logo logo_g3_clut224;
56 extern const struct linux_logo logo_sunset_bmp;
57 extern const struct linux_logo logo_android_bmp;
58 extern const struct linux_logo logo_linux_800x480_clut224;
59
60 extern const struct linux_logo *fb_find_logo(int depth);
61 #ifdef CONFIG_FB_LOGO_EXTRA
62 extern void fb_append_extra_logo(const struct linux_logo *logo,
63                                  unsigned int n);
64 #else
65 static inline void fb_append_extra_logo(const struct linux_logo *logo,
66                                         unsigned int n)
67 {}
68 #endif
69
70 #endif /* _LINUX_LINUX_LOGO_H */