5
Last change
on this file since 78c9fe8 was
c499856,
checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47
|
Change all references of rtems.com to rtems.org.
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | /* |
---|
2 | * Copyright (c) 2013 embedded brains GmbH. All rights reserved. |
---|
3 | * |
---|
4 | * embedded brains GmbH |
---|
5 | * Dornierstr. 4 |
---|
6 | * 82178 Puchheim |
---|
7 | * Germany |
---|
8 | * <info@embedded-brains.de> |
---|
9 | * |
---|
10 | * The license and distribution terms for this file may be |
---|
11 | * found in the file LICENSE in this distribution or at |
---|
12 | * http://www.rtems.org/license/LICENSE. |
---|
13 | */ |
---|
14 | |
---|
15 | #include <bsp/arm-pl111-fb.h> |
---|
16 | #include <bsp.h> |
---|
17 | |
---|
18 | static void fb_set_up(const pl111_fb_config *cfg) |
---|
19 | { |
---|
20 | /* TODO */ |
---|
21 | } |
---|
22 | |
---|
23 | static void fb_pins_set_up(const pl111_fb_config *cfg) |
---|
24 | { |
---|
25 | /* TODO */ |
---|
26 | } |
---|
27 | |
---|
28 | static void fb_pins_tear_down(const pl111_fb_config *cfg) |
---|
29 | { |
---|
30 | /* TODO */ |
---|
31 | } |
---|
32 | |
---|
33 | static void fb_tear_down(const pl111_fb_config *cfg) |
---|
34 | { |
---|
35 | /* TODO */ |
---|
36 | } |
---|
37 | |
---|
38 | static const pl111_fb_config fb_config = { |
---|
39 | .regs = (volatile pl111 *) 0x10020000, |
---|
40 | |
---|
41 | /* |
---|
42 | * Values obtained from "RealView Platform Baseboard Explore for Cortex-A9 |
---|
43 | * User Guide" section 4.6.1 "Display resolutions and display memory |
---|
44 | * organization". |
---|
45 | */ |
---|
46 | .timing0 = 0x3f1f3f9c, |
---|
47 | .timing1 = 0x090b61df, |
---|
48 | .timing2 = 0x067f1800, |
---|
49 | |
---|
50 | .timing3 = 0x0, |
---|
51 | .control = PL111_LCD_CONTROL_LCD_TFT |
---|
52 | | PL111_LCD_CONTROL_LCD_BPP(PL111_LCD_CONTROL_LCD_BPP_16) |
---|
53 | | PL111_LCD_CONTROL_BGR, |
---|
54 | .power_delay_in_us = 100000, |
---|
55 | .set_up = fb_set_up, |
---|
56 | .pins_set_up = fb_pins_set_up, |
---|
57 | .pins_tear_down = fb_pins_tear_down, |
---|
58 | .tear_down = fb_tear_down |
---|
59 | }; |
---|
60 | |
---|
61 | const pl111_fb_config *arm_pl111_fb_get_config(void) |
---|
62 | { |
---|
63 | return &fb_config; |
---|
64 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.