[U-Boot] [PATCH v2] sunxi: video: Force h/vsync active high when using ext. vga dac on some boards

Ian Campbell ijc+uboot at hellion.org.uk
Wed Jan 28 16:33:19 CET 2015


On Wed, 2015-01-28 at 15:42 +0100, Hans de Goede wrote:
> > Although I might have been tempted to adjust mode->sync in the caller or
> > the place which populates it in the first place, just due to a general
> > dislike of boolean params to functions (which are opaque at the caller)
> > and to keep mode in sync with reality (if that matters).
> 
> I had the same idea, but mode can point to the global fixed mode list, so
> it is: "const struct ctfb_res_modes *mode" and we cannot change what a const
> pointer points too.

Ah, then no, that won't work will it ;-).

Ian.



More information about the U-Boot mailing list