[U-Boot] [PATCH 2/2] cmp_bmp: allow negative X, Y values for display command

Detlev Zundel dzu at denx.de
Fri Aug 27 15:14:00 CEST 2010


Hi Timur,

> Detlev Zundel wrote:
>
>> Can't you come up with a scheme which does not destroy this valuable
>> property of our coordinates?
>
> I'm only doing two things:
>
> 1) Exposing a feature of the existing code.  Notice that I only had to change
> two lines in the cmd_bmp code, not any of the core bitmap code, which already
> takes signed integers.

Yes, I fully expected such an answer.  Please show me the "existing
feature" which started to leak in such virtual coordinates into the
code.  We should take a look at this and re-evaluate it.

> 2) Trying to use the existing bitmap code to do the same thing that we do
> with the Freescale-specific bitmap code.
>
> If you can tell me how I can display a logo on top of the screen, and have
> all of the boot text appear below the logo, I'll be happy to do that instead.
>   The logo will then scroll off the top of the screen, but that's okay.

We can discuss this once I see the code that makes virtual coordinates
neccessary.

Cheers
  Detlev

-- 
Quality isn't something you lay on top of subjects and objects like
tinsel on a christmas tree.  Real Quality must be the source of the
subjects and objects, the cone from which the tree must start.
                                        -- Robert M. Pirsig
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de


More information about the U-Boot mailing list