[U-Boot] videomodes: unify the two videomode formats

9 Feb
2013
9 Feb
'13
5:06 p.m.
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@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
4469
Age (days ago)
4469
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jeroen Hofstee