usb: gadget: remove duplicated print macro
[profile/mobile/platform/kernel/u-boot-tm1.git] / drivers / video / sprdfb_panel.c
1 #include <asm/arch/sc8810_lcd.h>\r
2 #include <asm/io.h>\r
3 \r
4 struct lcd_cfg{\r
5         uint32_t lcd_id;\r
6         struct lcd_spec* panel;\r
7 };\r
8 \r
9 #define  LCD_PANEL_ID_RM61581_TRULY     (0x6158|0x00)  //Ã\90Ã\85Ã\80û(Ã\94Ã\9dÃ\8eÂŽÃ\89Ã\95Ã\82ÂŒ)\r
10 #define  LCD_PANEL_ID_HX8357                    (0x8357|0x00)  //Ã\81¢µÃ\82\r
11 \r
12 #if defined (CONFIG_LCD_HX8357_1) || defined(CONFIG_LCD_HX8357)\r
13 extern  struct lcd_spec lcd_panel_hx8357;\r
14 #endif\r
15 \r
16 #ifdef CONFIG_LCD_RM61581_TRULY\r
17 extern  struct lcd_spec lcd_panel_eR6158_truly;\r
18 #endif\r
19 #ifdef CONFIG_LCD_HX8369\r
20 extern struct lcd_spec lcd_panel_hx8369;\r
21 #endif\r
22 #ifdef CONFIG_LCD_ILI9486\r
23 extern struct lcd_spec lcd_panel_ili9486;\r
24 #endif\r
25 #ifdef CONFIG_LCD_ILI9341S\r
26 extern struct lcd_spec lcd_panel_ili9341s;\r
27 #endif\r
28 \r
29 #ifdef CONFIG_LCD_ILI9341_BOE\r
30 extern struct lcd_spec lcd_panel_ili9341boe;\r
31 #endif\r
32 \r
33 #ifdef CONFIG_LCD_ILI9341_BOE_MINT\r
34 extern struct lcd_spec lcd_panel_ili9486;\r
35 #endif\r
36 \r
37 #ifdef CONFIG_LCD_NT35510\r
38 extern struct lcd_spec lcd_nt35510_spec;\r
39 #endif\r
40 \r
41 #ifdef CONFIG_LCD_S6D04H0\r
42 extern struct lcd_spec lcd_s6d04h0_spec;\r
43 #endif\r
44 \r
45 struct lcd_cfg lcd_panel[] = {\r
46 #ifdef CONFIG_LCD_HX8357_1\r
47         {\r
48                 .lcd_id = 0x57,\r
49                 .panel = &lcd_panel_hx8357,\r
50         },\r
51 #endif\r
52 #ifdef CONFIG_LCD_ILI9341S\r
53         {\r
54                 .lcd_id = 0x61,\r
55                 .panel = &lcd_panel_ili9341s,\r
56         },\r
57 #endif\r
58 #ifdef CONFIG_LCD_NT35510\r
59         {\r
60                 .lcd_id = 0x5bbc,/* !!! WORK AROUND !!! */\r
61                 .panel = &lcd_nt35510_spec,\r
62         },\r
63 #endif\r
64 #ifdef CONFIG_LCD_ILI9341_BOE\r
65         {\r
66                 .lcd_id = 0x61a4,\r
67                 .panel = &lcd_panel_ili9341boe,\r
68         },\r
69 #endif\r
70 #ifdef CONFIG_LCD_ILI9341_BOE_MINT\r
71         {\r
72                 .lcd_id = 0x60b4,\r
73                 .panel = &lcd_panel_ili9486,\r
74         },\r
75 #endif\r
76 #ifdef CONFIG_LCD_ILI9486\r
77         {\r
78                 .lcd_id = 0x5BBC,\r
79                 .panel = &lcd_panel_ili9486,\r
80         },\r
81 #endif\r
82 #ifdef CONFIG_LCD_RM61581_TRULY\r
83         {\r
84                 .lcd_id = LCD_PANEL_ID_RM61581_TRULY,\r
85                 .panel = &lcd_panel_eR6158_truly,\r
86         },\r
87 #endif\r
88 #ifdef CONFIG_LCD_HX8357\r
89         {\r
90                 .lcd_id = LCD_PANEL_ID_HX8357,\r
91                 .panel = &lcd_panel_hx8357,\r
92         },\r
93 #endif\r
94 #ifdef CONFIG_LCD_HX8369\r
95         {\r
96                 .lcd_id = 0x69,\r
97                 .panel = &lcd_panel_hx8369,\r
98         },\r
99 #endif\r
100 \r
101 #ifdef CONFIG_LCD_S6D04H0\r
102         {\r
103                 .lcd_id = 0x61bc11,\r
104                 .panel = &lcd_s6d04h0_spec,\r
105         },\r
106 #endif\r
107 };\r
108 \r