aboutsummaryrefslogtreecommitdiff
path: root/include/video.h
diff options
context:
space:
mode:
authorNikhil M Jain2023-04-20 17:41:06 +0530
committerAnatolij Gustschin2023-04-24 21:37:45 +0200
commit58182b2db9d80930b2d98bfe08a08d3437e8a302 (patch)
treea9efff0fef4193d34a853bf348bf16efb43c30b4 /include/video.h
parent072b0e16c482114d242580dd7a3197db5966705f (diff)
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 <n-jain1@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/video.h')
-rw-r--r--include/video.h8
1 files changed, 8 insertions, 0 deletions
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