coreboot/src/console
Julius Werner 1f2408f573 console: Fix flushing for slow consoles
Commit 266041f0e6 ("console: Add compile-time fast path when only
CBMEM console is used") introduced a typo when refactoring CBMEM console
fast path code that effectively causes consoles to never get flushed.
The fact that nobody complained in 3 years shows that the flush callback
is probably not that important for most consoles in practice. Still,
it's a pretty bad bug and should be fixed.

Change-Id: Ib9b96cb744447ccba99c4186540442b542914e01
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/89397
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-10-02 22:44:46 +00:00
..
console.c console.c: Enable gdb support in bootblock 2023-11-07 17:23:32 +00:00
die.c console/die.c: Add <stdarg.h> 2022-10-06 17:00:04 +00:00
hw-debug_sink.adb console/hw-debug_sink: Update for fast/slow console distinction 2021-08-04 15:15:45 +00:00
hw-debug_sink.ads treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
init.c Allow to build romstage sources inside the bootblock 2023-11-09 13:20:18 +00:00
Kconfig console/i2c_smbus: Allow to send data w/o register offset 2024-07-11 00:06:22 +00:00
Makefile.mk console: Only add non-stub code to romstage if SEPARATE_ROMSTAGE=y 2024-06-16 13:47:11 +00:00
post.c console/post.c: Sort includes 2022-10-27 15:46:39 +00:00
printk.c console: Fix flushing for slow consoles 2025-10-02 22:44:46 +00:00
vsprintf.c tree: Remove unused <string.h> 2024-05-29 10:34:08 +00:00
vtxprintf.c tree: Drop duplicated <stdarg.h> and <stdio.h> 2024-04-12 04:25:07 +00:00