arm: qemu: Enable PRE_CONSOLE_BUFFER

Commit 608b80b5b8 ("riscv: qemu: Enable PRE_CONSOLE_BUFFER") enables
buffering console messages for QEMU RISC-V virtual machines so those
printed before the video console is available will still show up on the
display. Similarly, enable it for ARM virtual machines as well.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng@tinylab.org>
This commit is contained in:
Alper Nebi Yasak 2023-08-14 20:39:42 +03:00 committed by Tom Rini
parent 4d6641d5db
commit 120f540a71
2 changed files with 5 additions and 0 deletions

View file

@ -1041,6 +1041,7 @@ config ARCH_QEMU
imply VIDEO_BOCHS
imply SYS_WHITE_ON_BLACK
imply SYS_CONSOLE_IS_IN_ENV
imply PRE_CONSOLE_BUFFER
config ARCH_RMOBILE
bool "Renesas ARM SoCs"

View file

@ -12,6 +12,10 @@ config BOARD_SPECIFIC_OPTIONS # dummy
imply VIRTIO_NET
imply VIRTIO_BLK
config PRE_CON_BUF_ADDR
hex
default 0x40100000
endif
if TARGET_QEMU_ARM_64BIT && !TFABOOT