[U-Boot] [PATCH RESEND] Added support for splash screen positioning
Matthias Fuchs
matthias.fuchs at esd.eu
Thu Jul 9 12:18:59 CEST 2009
On Thursday 09 July 2009 11:45, Matthias Weisser wrote:
> Hi Matthias
>
> >>> Matthias Fuchs <matthias.fuchs at esd.eu> schrieb am 06.07.2009 um
> 11:23:
> > Hi,
> >
> > I posted a similiar patch a long time ago:
> >
> > http://lists.denx.de/pipermail/u-boot/2007-July/022741.html
>
> Missed that. Sorry.
>
> > If we can use a powerful splashimage variable, I would vote for my
> patch
> > and check it on top of git.
>
> I would also vote for that one, but...
Cool.
>
> > I can understand Wolfgang's objection but please keep the amount of
> > variables for positioning on a reasonable level. Just one for the
> stuff
> > behind the address (see my proposed format) would be ok for me.
>
> I would also prefer the additional variable. I would propose
>
> splashpos=x,y
I thought about that name also :-)
>
> where x and y could be:
>
> l -> Left
> m -> Center (not c because of clash with hex numbers)
Good idea.
> r -> Right
Don't forget t (top) and b (bottom).
> number -> Exact positioning
What about [-]number? Could be used to position from the opposite side.
With this syntax we even do not need l/r/t/b at all. E.g.:
splashpos=m,-20 # x'centered and 20 pixel from bottom
splashpos=-0,-0 # rigth, bottom screen corner
Just an idea :-)
> If you don't have the time to implement this I could add this to my
> patch (which also adds this to the lcd code).
Yes please. I will do some testing on my board.
Matthias
More information about the U-Boot
mailing list