diff options
author | Tom Rini <trini@ti.com> | 2013-08-12 18:06:30 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-08-12 18:06:30 -0400 |
commit | c15438eaea8b854d89455ebf7a1c7c4f06fa92f5 (patch) | |
tree | 1b9f2cddd85c061fb0377681d1fee0a2904d738d /board | |
parent | d62a89bd5b5033649a90fa5bfe0f5b32013ca8f8 (diff) | |
parent | 1dc793dd2b8fb97dddf437547d86bd5bcfdb8b29 (diff) | |
download | u-boot-imx-c15438eaea8b854d89455ebf7a1c7c4f06fa92f5.zip u-boot-imx-c15438eaea8b854d89455ebf7a1c7c4f06fa92f5.tar.gz u-boot-imx-c15438eaea8b854d89455ebf7a1c7c4f06fa92f5.tar.bz2 |
Merge branch 'master' of git://www.denx.de/git/u-boot-video
Diffstat (limited to 'board')
-rw-r--r-- | board/davinci/ea20/ea20.c | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/board/davinci/ea20/ea20.c b/board/davinci/ea20/ea20.c index c786997..c4444c7 100644 --- a/board/davinci/ea20/ea20.c +++ b/board/davinci/ea20/ea20.c @@ -24,7 +24,7 @@ #include <asm/io.h> #include <asm/arch/davinci_misc.h> #include <asm/gpio.h> -#include <asm/arch/da8xx-fb.h> +#include "../../../drivers/video/da8xx-fb.h" DECLARE_GLOBAL_DATA_PTR; @@ -43,6 +43,30 @@ static const struct da8xx_panel lcd_panel = { .invert_pxl_clk = 0, }; +static const struct display_panel disp_panel = { + QVGA, + 16, + 16, + COLOR_ACTIVE, +}; + +static const struct lcd_ctrl_config lcd_cfg = { + &disp_panel, + .ac_bias = 255, + .ac_bias_intrpt = 0, + .dma_burst_sz = 16, + .bpp = 16, + .fdd = 255, + .tft_alt_mode = 0, + .stn_565_mode = 0, + .mono_8bit_mode = 0, + .invert_line_clock = 1, + .invert_frm_clock = 1, + .sync_edge = 0, + .sync_ctrl = 1, + .raster_order = 0, +}; + /* SPI0 pin muxer settings */ static const struct pinmux_config spi1_pins[] = { { pinmux(5), 1, 1 }, @@ -259,7 +283,7 @@ int board_init(void) /* address of boot parameters */ gd->bd->bi_boot_params = LINUX_BOOT_PARAM_ADDR; - da8xx_video_init(&lcd_panel, 16); + da8xx_video_init(&lcd_panel, &lcd_cfg, 16); return 0; } |