public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jeroen Hofstee <jeroen@myspectrum.nl>
To: u-boot@lists.denx.de
Subject: [U-Boot] videomodes: unify the two videomode formats
Date: Sat, 09 Feb 2013 17:06:11 +0100	[thread overview]
Message-ID: <511673F3.7070406@myspectrum.nl> (raw)

Hello,

Currently there are two distinct implementation in videomodes.c.

1) video_get_params with parses videomode like:
video=ctfb:x:800,xv:1280,y:600,yv:1024,depth:16,mode:0,pclk:25000,
       le:56,ri:48,up:26,lo:5,hs:152,vs:2,sync:0,vmode:0,accel:0

2) video_get_video_mode which parses video-mode like:
video-mode=fslfb:1280x1024-32 at 60,monitor=dvi and accepts default
VESA modes.

For a LCD typically option 1 is needed, for DVI option 2 is allot nicer. 
I am
therefore tempted to merge both version in a backwards compatible
manner so e.g. on a board with both options, option 1 can be used to
fiddle around with LCD timing and option 2 when using DVI.

Any objections against such a change?

Regards,
Jeroen

                 reply	other threads:[~2013-02-09 16:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=511673F3.7070406@myspectrum.nl \
    --to=jeroen@myspectrum.nl \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox