summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2022-01-11 12:44:38 -0700
committerFelix Held <felix-coreboot@felixheld.de>2022-01-13 15:25:43 +0000
commit41a1a9e03c681da565d00c0a9fff617c9f45308d (patch)
treede05c7681c8cb9675f66906117bdb198cf53f4fb
parent727a84b9a77d2132537bd63f72fb33848f4f99a5 (diff)
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>
-rw-r--r--src/include/console/cbmem_console.h2
-rw-r--r--src/lib/cbmem_console.c2
-rw-r--r--src/security/vboot/vboot_common.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/include/console/cbmem_console.h b/src/include/console/cbmem_console.h
index 3eb278db98..3477a06b0a 100644
--- a/src/include/console/cbmem_console.h
+++ b/src/include/console/cbmem_console.h
@@ -19,5 +19,5 @@ static inline void __cbmemc_init(void) {}
static inline void __cbmemc_tx_byte(u8 data) {}
#endif
-void cbmem_dump_console(void);
+void cbmem_dump_console_to_uart(void);
#endif
diff --git a/src/lib/cbmem_console.c b/src/lib/cbmem_console.c
index a7d67a3981..719c8b5088 100644
--- a/src/lib/cbmem_console.c
+++ b/src/lib/cbmem_console.c
@@ -154,7 +154,7 @@ RAMSTAGE_CBMEM_INIT_HOOK(cbmemc_reinit)
POSTCAR_CBMEM_INIT_HOOK(cbmemc_reinit)
#if CONFIG(CONSOLE_CBMEM_DUMP_TO_UART)
-void cbmem_dump_console(void)
+void cbmem_dump_console_to_uart(void)
{
u32 cursor;
if (!current_console)
diff --git a/src/security/vboot/vboot_common.c b/src/security/vboot/vboot_common.c
index 87f382fb28..c557f25c14 100644
--- a/src/security/vboot/vboot_common.c
+++ b/src/security/vboot/vboot_common.c
@@ -60,7 +60,7 @@ void __weak vboot_platform_prepare_reboot(void)
void vboot_reboot(void)
{
if (CONFIG(CONSOLE_CBMEM_DUMP_TO_UART))
- cbmem_dump_console();
+ cbmem_dump_console_to_uart();
vboot_platform_prepare_reboot();
board_reset();
}