aboutsummaryrefslogtreecommitdiff
path: root/arch/sandbox/include/asm/sdl.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-12-28 11:28:31 -0500
committerTom Rini <trini@konsulko.com>2021-12-28 11:28:31 -0500
commit87a9aa604de8a4a50642e25b88af328ab375893b (patch)
tree863b4beef53827cddf2813dd7627aaa0bac62cda /arch/sandbox/include/asm/sdl.h
parent111a8b57354bb5aff55635502a0cdf74cb63e835 (diff)
parent92302ab1a279859824ec0f2e3864be44e883bff9 (diff)
Merge tag 'video-next-20211228' of https://source.denx.de/u-boot/custodians/u-boot-video into next
- various fixes to the sandbox display support - support for showing a logo without splash screen config - support for BMP drawing to depths other than 16bpp - tests for the different types of supported BMP images - support showing a logo when running coreboot via qemu
Diffstat (limited to 'arch/sandbox/include/asm/sdl.h')
-rw-r--r--arch/sandbox/include/asm/sdl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/sdl.h b/arch/sandbox/include/asm/sdl.h
index 47fc4889d2..25dbdb5944 100644
--- a/arch/sandbox/include/asm/sdl.h
+++ b/arch/sandbox/include/asm/sdl.h
@@ -26,6 +26,13 @@ int sandbox_sdl_init_display(int width, int height, int log2_bpp,
bool double_size);
/**
+ * sandbox_sdl_remove_display() - Remove the SDL screen
+ *
+ * @return 0 if OK, -ENOENT if the SDL had not been inited.
+ */
+int sandbox_sdl_remove_display(void);
+
+/**
* sandbox_sdl_sync() - Sync current U-Boot LCD frame buffer to SDL
*
* This must be called periodically to update the screen for SDL so that the