summaryrefslogtreecommitdiffstats
path: root/u-boot/board/goldelico/gta04/jbt6k74.c
diff options
context:
space:
mode:
Diffstat (limited to 'u-boot/board/goldelico/gta04/jbt6k74.c')
-rw-r--r--u-boot/board/goldelico/gta04/jbt6k74.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/u-boot/board/goldelico/gta04/jbt6k74.c b/u-boot/board/goldelico/gta04/jbt6k74.c
index fd66af9..40ef8f6 100644
--- a/u-boot/board/goldelico/gta04/jbt6k74.c
+++ b/u-boot/board/goldelico/gta04/jbt6k74.c
@@ -36,6 +36,7 @@
#include <twl4030.h>
#include "dssfb.h"
#include "panel.h"
+#include "backlight.h"
#include "TD028TTEC1.h"
// FIXME: we have somehow mixed up the file names...
@@ -74,6 +75,9 @@
#define DEBUGPC(x, args...) do { } while (0)
#endif
+int displayColumns=HDISP;
+int displayLines=VDISP;
+
static /*const*/ struct panel_config lcm_cfg =
{
.timing_h = ((HBP-1)<<20) | ((HFP-1)<<8) | ((HS-1)<<0), /* Horizantal timing */
@@ -377,7 +381,7 @@ int board_video_init(GraphicDevice *pGD)
if (get_cpu_family() == CPU_OMAP36XX)
lcm_cfg.divisor = (0x0001<<16)|(DSS1_FCLK3730/PIXEL_CLOCK); /* get Pixel Clock divisor from dss1_fclk */
dssfb_init(&lcm_cfg);
-
+
printf("did board_video_init()\n");
return 0;
}