console/cbmem_console: Rename cbmem_dump_console
This function actually dumps cbmem to the UART. This change renames the function to make that clear. BUG=b:213828947 TEST=Build guybrush Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: Icc314c530125e5303a06b92aab48c1e1122fd18c Reviewed-on: https://review.coreboot.org/c/coreboot/+/61010 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
committed by
Felix Held
parent
727a84b9a7
commit
41a1a9e03c
@ -19,5 +19,5 @@ static inline void __cbmemc_init(void) {}
|
|||||||
static inline void __cbmemc_tx_byte(u8 data) {}
|
static inline void __cbmemc_tx_byte(u8 data) {}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void cbmem_dump_console(void);
|
void cbmem_dump_console_to_uart(void);
|
||||||
#endif
|
#endif
|
||||||
|
@ -154,7 +154,7 @@ RAMSTAGE_CBMEM_INIT_HOOK(cbmemc_reinit)
|
|||||||
POSTCAR_CBMEM_INIT_HOOK(cbmemc_reinit)
|
POSTCAR_CBMEM_INIT_HOOK(cbmemc_reinit)
|
||||||
|
|
||||||
#if CONFIG(CONSOLE_CBMEM_DUMP_TO_UART)
|
#if CONFIG(CONSOLE_CBMEM_DUMP_TO_UART)
|
||||||
void cbmem_dump_console(void)
|
void cbmem_dump_console_to_uart(void)
|
||||||
{
|
{
|
||||||
u32 cursor;
|
u32 cursor;
|
||||||
if (!current_console)
|
if (!current_console)
|
||||||
|
@ -60,7 +60,7 @@ void __weak vboot_platform_prepare_reboot(void)
|
|||||||
void vboot_reboot(void)
|
void vboot_reboot(void)
|
||||||
{
|
{
|
||||||
if (CONFIG(CONSOLE_CBMEM_DUMP_TO_UART))
|
if (CONFIG(CONSOLE_CBMEM_DUMP_TO_UART))
|
||||||
cbmem_dump_console();
|
cbmem_dump_console_to_uart();
|
||||||
vboot_platform_prepare_reboot();
|
vboot_platform_prepare_reboot();
|
||||||
board_reset();
|
board_reset();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user