payloads: Drop unneeded empty lines
Change-Id: I6faeb7c783052edc4217d2d301dbb905e1fc6a19 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44605 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
This commit is contained in:
committed by
Michael Niewöhner
parent
99e0c7ddc1
commit
3ff7bcf10e
@@ -7,14 +7,12 @@
|
||||
#define LINES_SHOWN 19
|
||||
#define TAB_WIDTH 2
|
||||
|
||||
|
||||
/* Globals that are used for tracking screen state */
|
||||
static char *g_buf = NULL;
|
||||
static s32 g_line = 0;
|
||||
static s32 g_lines_count = 0;
|
||||
static s32 g_max_cursor_line = 0;
|
||||
|
||||
|
||||
/* Copied from libpayload/drivers/cbmem_console.c */
|
||||
struct cbmem_console {
|
||||
u32 size;
|
||||
@@ -25,7 +23,6 @@ struct cbmem_console {
|
||||
#define CURSOR_MASK ((1 << 28) - 1)
|
||||
#define OVERFLOW (1 << 31)
|
||||
|
||||
|
||||
static u32 char_width(char c, u32 cursor, u32 screen_width)
|
||||
{
|
||||
if (c == '\n') {
|
||||
|
Reference in New Issue
Block a user