video: Move bmp_display() prototype to video.h
The lcd.h header is about to be deleted, so move this prototype. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
ba97899349
commit
f24404d85f
10
cmd/bmp.c
10
cmd/bmp.c
@ -221,16 +221,6 @@ static int bmp_info(ulong addr)
|
|||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* Subroutine: bmp_display
|
|
||||||
*
|
|
||||||
* Description: Display bmp file located in memory
|
|
||||||
*
|
|
||||||
* Inputs: addr address of the bmp file
|
|
||||||
*
|
|
||||||
* Return: None
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
int bmp_display(ulong addr, int x, int y)
|
int bmp_display(ulong addr, int x, int y)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_DM_VIDEO
|
#ifdef CONFIG_DM_VIDEO
|
||||||
|
@ -346,4 +346,13 @@ bool video_is_active(void);
|
|||||||
*/
|
*/
|
||||||
void *video_get_u_boot_logo(void);
|
void *video_get_u_boot_logo(void);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* bmp_display() - Display BMP (bitmap) data located in memory
|
||||||
|
*
|
||||||
|
* @addr: address of the bmp data
|
||||||
|
* @x: Position of bitmap from the left side, in pixels
|
||||||
|
* @y: Position of bitmap from the top, in pixels
|
||||||
|
*/
|
||||||
|
int bmp_display(ulong addr, int x, int y);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user