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

Timur Tabi timur at freescale.com
Fri Aug 27 22:51:26 CEST 2010


I'm rescinding this patch.  I have some new code that doesn't need this hack.

On Wed, Aug 25, 2010 at 4:36 PM, Timur Tabi <timur at freescale.com> wrote:
> The 'bmp display' command accepts optional X and Y values for the position
> of the image to be displayed.  Change the code which parses the command line
> to accept negative values.
>
> This feature is useful if you want to use a frame buffer for the console, and
> you want a banner displayed on the top of the screen that never scrolls off.
> This can be accomplished by declaring that the width and height of the video
> screen is smaller than it really is, and then drawing an image in the
> undeclared area.
>
> For example, if you have 1280x1024 monitor, and you want to display a banner
> on the top of the screen that's 100 pixels tall, then video_hw_init() should
> say that display is really 1280x924, and then the banner should be drawn at
> position (0, -100).
>
> Signed-off-by: Timur Tabi <timur at freescale.com>

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the U-Boot mailing list