Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1589)

Unified Diff: cpu/armv7Scorpion/QSD8x50/lcdc.c

Issue 1329001: ST1.5 board support and some ST1.0/1.5 common changes. (Closed)
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cpu/armv7Scorpion/QSD8x50/dram.c ('k') | cpu/armv7Scorpion/QSD8x50/pll.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cpu/armv7Scorpion/QSD8x50/lcdc.c
diff --git a/cpu/armv7Scorpion/QSD8x50/lcdc.c b/cpu/armv7Scorpion/QSD8x50/lcdc.c
index 90654e39dbf36b222566142d15e810e75d5d8ecd..a8e1e6d7b5e96698ab503a4bee1cbf0ba0b799e5 100644
--- a/cpu/armv7Scorpion/QSD8x50/lcdc.c
+++ b/cpu/armv7Scorpion/QSD8x50/lcdc.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2009-2010, Code Aurora Forum. All rights reserved.
*
* (C) Copyright 2001-2002
* Wolfgang Denk, DENX Software Engineering -- wd@denx.de
@@ -52,6 +52,7 @@ vidinfo_t panel_info = {
vl_vbp: LCDC_vl_vbp,
vl_vfp: LCDC_vl_vfp,
vl_hsync_width: LCDC_vl_hsync_width,
+ vl_vsync_width: LCDC_vl_vsync_width,
vl_bpix: LCD_BPP
};
@@ -129,7 +130,7 @@ void lcdc_init(void)
hsync_period = panel_info.vl_sync_width + panel_info.vl_hfp + panel_info.vl_hbp;
vsync_period = panel_info.vl_sync_height + panel_info.vl_vfp + panel_info.vl_vbp;
hsync_width = panel_info.vl_hsync_width;
- vsync_width = 6 * hsync_period;
+ vsync_width = panel_info.vl_vsync_width * hsync_period;
vsync_starty = panel_info.vl_vbp * hsync_period;
vsync_endy = (((panel_info.vl_vbp + panel_info.vl_sync_height) * hsync_period) - 1);
« no previous file with comments | « cpu/armv7Scorpion/QSD8x50/dram.c ('k') | cpu/armv7Scorpion/QSD8x50/pll.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698