On Thu, Jun 14, 2012 at 10:29:47AM +0200, Stefano Babic wrote:

> Signed-off-by: Stefano Babic <sba...@denx.de>
[snip]
> +static GraphicDevice panel;
> +static const struct panel_config lcd_cfg = {
> +     .timing_h       = 0x01101d1b, /* Horizontal timing */
> +     .timing_v       = 0x01400b02, /* Vertical timing */
> +     .pol_freq       = 0x00023000, /* Pol Freq */
> +     .divisor        = 0x0001000d, /* 33Mhz Pixel Clock */
> +     .lcd_size       = ((YRES - 1) << 16 | (XRES - 1)),
> +     .panel_type     = 0x01, /* TFT */
> +     .data_lines     = 0x03, /* 24 Bit RGB */
> +     .load_mode      = 0x02 /* Frame Mode */
> +};

You need #if defined(CONFIG_VIDEO) && !defined(CONFIG_SPL_BUILD)
type testing here[1] that the mt_ventoux board patch has.  Shall I or
will you v2?  And I'll sanity test this on omap3_beagle tomorrow, but I
suspect it's fine :)

[1]: twister.c:50: warning: 'panel' defined but not used

-- 
Tom
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to