From: Matthias Fuchs Date: Thu, 9 Jul 2009 12:18:59 +0200 Subject: [U-Boot] [PATCH RESEND] Added support for splash screen positioning In-Reply-To: <4A55D86C.2E8A.0063.0@graf-syteco.de> References: <1246460471-12737-1-git-send-email-matthias.weisser@graf-syteco.de> <200907061123.07261.matthias.fuchs@esd.eu> <4A55D86C.2E8A.0063.0@graf-syteco.de> Message-ID: <200907091218.59884.matthias.fuchs@esd.eu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday 09 July 2009 11:45, Matthias Weisser wrote: > Hi Matthias > > >>> Matthias Fuchs 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