summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Shen <voice.shen@atmel.com>2015-01-08 15:20:11 +0800
committerAndreas Bießmann <andreas.devel@googlemail.com>2015-01-11 02:16:01 +0100
commit77d5b407054e2d10237da2c8d419957e01da2378 (patch)
tree6833917496a0ba5abd5c526d91ee168f0fb46b06
parent93e9371f00f1efa9fc570f8e7e8889eae7639868 (diff)
downloadu-boot-imx-77d5b407054e2d10237da2c8d419957e01da2378.zip
u-boot-imx-77d5b407054e2d10237da2c8d419957e01da2378.tar.gz
u-boot-imx-77d5b407054e2d10237da2c8d419957e01da2378.tar.bz2
ARM: atmel: sama5d4 xplained: fix the LCD parameters
Correct the LCD pixel clock, remove unused vsync parameter, and also correct the include file. Signed-off-by: Bo Shen <voice.shen@atmel.com>
-rw-r--r--board/atmel/sama5d4_xplained/sama5d4_xplained.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/board/atmel/sama5d4_xplained/sama5d4_xplained.c b/board/atmel/sama5d4_xplained/sama5d4_xplained.c
index de0baad..2758c5c 100644
--- a/board/atmel/sama5d4_xplained/sama5d4_xplained.c
+++ b/board/atmel/sama5d4_xplained/sama5d4_xplained.c
@@ -14,7 +14,7 @@
#include <asm/arch/clk.h>
#include <asm/arch/sama5d3_smc.h>
#include <asm/arch/sama5d4.h>
-#include <atmel_lcdc.h>
+#include <atmel_hlcdc.h>
#include <atmel_mci.h>
#include <lcd.h>
#include <mmc.h>
@@ -109,10 +109,8 @@ static void sama5d4_xplained_usb_hw_init(void)
vidinfo_t panel_info = {
.vl_col = 480,
.vl_row = 272,
- .vl_clk = 9000,
- .vl_sync = ATMEL_LCDC_INVLINE_NORMAL | ATMEL_LCDC_INVFRAME_NORMAL,
+ .vl_clk = 9000000,
.vl_bpix = LCD_BPP,
- .vl_bpox = LCD_OUTPUT_BPP,
.vl_tft = 1,
.vl_hsync_len = 41,
.vl_left_margin = 2,