From: Bo Shen Date: Thu, 8 Jan 2015 15:20:11 +0800 Subject: [U-Boot] [PATCH 1/3] ARM: atmel: sama5d4 xplained: fix the LCD parameters Message-ID: <1420701613-10119-1-git-send-email-voice.shen@atmel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Correct the LCD pixel clock, remove unused vsync parameter, and also correct the include file. Signed-off-by: Bo Shen --- board/atmel/sama5d4_xplained/sama5d4_xplained.c | 6 ++---- 1 file 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 #include #include -#include +#include #include #include #include @@ -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, -- 2.1.0.24.g4109c28