|
32 | 32 | #define CARMINE_MEM_SIZE 0x8000000
|
33 | 33 | #define DRV_NAME "mb862xxfb"
|
34 | 34 |
|
35 |
| -#if defined(CONFIG_SOCRATES) |
36 |
| -static struct mb862xx_gc_mode socrates_gc_mode = { |
37 |
| - /* Mode for Prime View PM070WL4 TFT LCD Panel */ |
38 |
| - { "800x480", 45, 800, 480, 40000, 86, 42, 33, 10, 128, 2, 0, 0, 0 }, |
39 |
| - /* 16 bits/pixel, 16MB, 133MHz, SDRAM memory mode value */ |
40 |
| - 16, 0x1000000, GC_CCF_COT_133, 0x4157ba63 |
41 |
| -}; |
42 |
| -#endif |
43 |
| - |
44 | 35 | /* Helpers */
|
45 | 36 | static inline int h_total(struct fb_var_screeninfo *var)
|
46 | 37 | {
|
@@ -666,6 +657,15 @@ static int mb862xx_gdc_init(struct mb862xxfb_par *par)
|
666 | 657 | return 0;
|
667 | 658 | }
|
668 | 659 |
|
| 660 | +#if defined(CONFIG_SOCRATES) |
| 661 | +static struct mb862xx_gc_mode socrates_gc_mode = { |
| 662 | + /* Mode for Prime View PM070WL4 TFT LCD Panel */ |
| 663 | + { "800x480", 45, 800, 480, 40000, 86, 42, 33, 10, 128, 2, 0, 0, 0 }, |
| 664 | + /* 16 bits/pixel, 16MB, 133MHz, SDRAM memory mode value */ |
| 665 | + 16, 0x1000000, GC_CCF_COT_133, 0x4157ba63 |
| 666 | +}; |
| 667 | +#endif |
| 668 | + |
669 | 669 | static int of_platform_mb862xx_probe(struct platform_device *ofdev)
|
670 | 670 | {
|
671 | 671 | struct device_node *np = ofdev->dev.of_node;
|
|
0 commit comments