]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: coreboot: Enable CONFIG_SYS_NS16550_MEM32
authorSimon Glass <sjg@chromium.org>
Wed, 20 Sep 2023 03:00:08 +0000 (21:00 -0600)
committerBin Meng <bmeng@tinylab.org>
Thu, 21 Sep 2023 22:03:46 +0000 (06:03 +0800)
The debug UART on modern machines uses a 32-bit wide transfer. Without
this, setting debug output causes a hang or no output. It is not obvious
(when enabling CONFIG_DEBUG_UART) that this is needed.

Enable 32-bit access to avoid this trap.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
configs/coreboot64_defconfig
configs/coreboot_defconfig

index e8165961c1992b3ca29707e468b06c0a018d072a..c040563394622b3e35fd149e9250f95346ab9b7f 100644 (file)
@@ -51,6 +51,7 @@ CONFIG_ATAPI=y
 CONFIG_LBA48=y
 CONFIG_SYS_64BIT_LBA=y
 # CONFIG_PCI_PNP is not set
+CONFIG_SYS_NS16550_MEM32=y
 CONFIG_SOUND=y
 CONFIG_SOUND_I8254=y
 CONFIG_CONSOLE_SCROLL_LINES=5
index 311ca6672cbd418bfb763bec2889e0b62bc6ba15..e7e45c2b0a9b405b943147fcdf5245c0eed40620 100644 (file)
@@ -59,6 +59,7 @@ CONFIG_LBA48=y
 CONFIG_SYS_64BIT_LBA=y
 CONFIG_NVME_PCI=y
 # CONFIG_PCI_PNP is not set
+CONFIG_SYS_NS16550_MEM32=y
 CONFIG_SOUND=y
 CONFIG_SOUND_I8254=y
 CONFIG_CONSOLE_SCROLL_LINES=5