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

Tabi Timur-B04825 B04825 at freescale.com
Fri Aug 27 14:00:47 CEST 2010


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.

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.

-- 
Timur Tabi
Linux kernel developer


More information about the U-Boot mailing list