libpayload: Add support for the CBMEM in memory console.

Change-Id: I1489b5306ef1ca078686fed4dba2d242f70ad941
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: http://review.coreboot.org/1727
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
Gabe Black
2012-09-29 00:21:27 -07:00
committed by Stefan Reinauer
parent 87abeff334
commit a54b6a6143
6 changed files with 72 additions and 0 deletions

View File

@ -201,6 +201,15 @@ void video_console_get_cursor(unsigned int *x, unsigned int *y, unsigned int *en
void video_console_set_cursor(unsigned int cursorx, unsigned int cursory);
/** @} */
/**
* @defgroup cbmem_console CBMEM memory console.
* @ingroup input
* @{
*/
void cbmem_console_init(void);
void cbmem_console_putc(unsigned int data);
/** @} */
/* drivers/option.c */
struct nvram_accessor {
u8 (*read)(u8 reg);