summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/libpayload.h
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2012-10-05 23:35:04 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-11-09 19:02:11 +0100
commitdd9e4e58cdd0a684e301f1b16b2f92e20e0b3418 (patch)
tree226d9afec3055398ec9f3c582beb5e3ddf8fd426 /payloads/libpayload/include/libpayload.h
parenta54b6a61433600fe80d215dc8f8489fab44d0bfd (diff)
libpayload: Separate video initialization and the video console.
It's possible to want to display text on the display without using it as a console. This change separates the initialization of the video code from setting up the video console by pulling out everything but installing the console into a new function called video_init. Change-Id: Ie07654ca13f79489c0e9b3a4998b96f598ab8513 Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: http://review.coreboot.org/1733 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'payloads/libpayload/include/libpayload.h')
-rw-r--r--payloads/libpayload/include/libpayload.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h
index 3a91cbc959..c7e17d8547 100644
--- a/payloads/libpayload/include/libpayload.h
+++ b/payloads/libpayload/include/libpayload.h
@@ -192,6 +192,7 @@ void speaker_tone(u16 freq, unsigned int duration);
* @ingroup input
* @{
*/
+int video_init(void);
int video_console_init(void);
void video_console_putchar(unsigned int ch);
void video_console_putc(u8 row, u8 col, unsigned int ch);