]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: qemu: Enable PRE_CONSOLE_BUFFER
authorAlper Nebi Yasak <alpernebiyasak@gmail.com>
Mon, 14 Aug 2023 17:39:42 +0000 (20:39 +0300)
committerTom Rini <trini@konsulko.com>
Thu, 24 Aug 2023 20:47:05 +0000 (16:47 -0400)
Commit 608b80b5b855 ("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>
arch/arm/Kconfig
board/emulation/qemu-arm/Kconfig

index 5c505e1fbe85c8762789db24ad958f41c90b8ee0..9332829874842abfe713e02b4fb3c630ecf853f0 100644 (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"
index ed9949651c4b51f739194a2be0f4fa5812c7aef6..09c95413a54140b139a235e16eabf023aba13398 100644 (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