From 58182b2db9d80930b2d98bfe08a08d3437e8a302 Mon Sep 17 00:00:00 2001 From: Nikhil M Jain Date: Thu, 20 Apr 2023 17:41:06 +0530 Subject: cmd: bmp: Split bmp commands and functions To enable splash screen at SPL, need to compile cmd/bmp.c which also includes bmp commands, since SPL doesn't use commands split bmp.c into common/bmp.c which includes all bmp functions and cmd/bmp.c which only contains bmp commands. Add function delclaration for bmp_info in video.h. Signed-off-by: Nikhil M Jain Reviewed-by: Simon Glass --- include/video.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') diff --git a/include/video.h b/include/video.h index 4d99e5dc27f..29c4f51efb0 100644 --- a/include/video.h +++ b/include/video.h @@ -357,4 +357,12 @@ void *video_get_u_boot_logo(void); */ int bmp_display(ulong addr, int x, int y); +/* + * bmp_info() - Show information about bmp file + * + * @addr: address of bmp file + * Returns: 0 if OK, else 1 if bmp image not found + */ +int bmp_info(ulong addr); + #endif -- cgit v1.2.3