summaryrefslogtreecommitdiffstats
path: root/src/include/bootsplash.h
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2021-01-09 20:38:43 +0200
committerPatrick Georgi <pgeorgi@google.com>2021-02-09 07:52:31 +0000
commit4949a3dd626560aa504cee18d936d0d7602becfa (patch)
treeaa804caed95d613a0c9a1def5c44debfa22ef1ab /src/include/bootsplash.h
parent1aaa72836d1a51b583b7a4352bceff72ab6ff091 (diff)
downloadcoreboot-4949a3dd626560aa504cee18d936d0d7602becfa.tar.gz
coreboot-4949a3dd626560aa504cee18d936d0d7602becfa.tar.bz2
coreboot-4949a3dd626560aa504cee18d936d0d7602becfa.zip
drivers/intel/fsp1_1,fsp2_0: Refactor logo display
Hide the detail of allocation from cbmem from the FSP. Loading of a BMP logo file from CBFS is not tied to FSP version and we do not need two copies of the code, move it under lib/. Change-Id: I909f2771af534993cf8ba99ff0acd0bbd2c78f04 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50359 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/include/bootsplash.h')
-rw-r--r--src/include/bootsplash.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/bootsplash.h b/src/include/bootsplash.h
index d5aecf8594a8..10da5aa10081 100644
--- a/src/include/bootsplash.h
+++ b/src/include/bootsplash.h
@@ -14,4 +14,8 @@
void set_bootsplash(unsigned char *framebuffer, unsigned int x_resolution,
unsigned int y_resolution, unsigned int fb_resolution);
+
+void bmp_load_logo(uint32_t *logo_ptr, uint32_t *logo_size);
+void bmp_release_logo(void);
+
#endif