]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: atmel: sama5d4 xplained: fix the LCD parameters
authorBo Shen <voice.shen@atmel.com>
Thu, 8 Jan 2015 07:20:11 +0000 (15:20 +0800)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Sun, 11 Jan 2015 01:16:01 +0000 (02:16 +0100)
Correct the LCD pixel clock, remove unused vsync parameter,
and also correct the include file.

Signed-off-by: Bo Shen <voice.shen@atmel.com>
board/atmel/sama5d4_xplained/sama5d4_xplained.c

index de0baada287689529f70469182b6c37603974c92..2758c5cbcd6ff777d6ca923a8cf092fbf689894b 100644 (file)
@@ -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,