console/cbmem: Add cbmem_dump_console

This function is similar to cbmem_dump_console_to_uart except it uses
the normally configured consoles. A console_paused flag was added to
prevent the cbmem console from writing to itself.

BUG=b:213828947
TEST=Boot guybrush

Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Change-Id: I3fe0f666e2e15c88b4568377923ad447c3ecf27e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61011
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
This commit is contained in:
Raul E Rangel 2022-01-11 12:48:50 -07:00 committed by Felix Held
commit bf993110b3
2 changed files with 24 additions and 1 deletions

View file

@ -20,4 +20,5 @@ static inline void __cbmemc_tx_byte(u8 data) {}
#endif
void cbmem_dump_console_to_uart(void);
void cbmem_dump_console(void);
#endif