aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-09-19 21:00:08 -0600
committerBin Meng <bmeng@tinylab.org>2023-09-22 06:03:46 +0800
commit028d1f8dc2ca9108e06f1cd05ab9d035af05ff51 (patch)
treecca446a993f036a8dd2c49823fd47175d9415377
parentb1350636e69d4aac1e00aee5a327b5724f074420 (diff)
downloadu-boot-028d1f8dc2ca9108e06f1cd05ab9d035af05ff51.zip
u-boot-028d1f8dc2ca9108e06f1cd05ab9d035af05ff51.tar.gz
u-boot-028d1f8dc2ca9108e06f1cd05ab9d035af05ff51.tar.bz2
x86: coreboot: Enable CONFIG_SYS_NS16550_MEM32
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>
-rw-r--r--configs/coreboot64_defconfig1
-rw-r--r--configs/coreboot_defconfig1
2 files changed, 2 insertions, 0 deletions
diff --git a/configs/coreboot64_defconfig b/configs/coreboot64_defconfig
index e816596..c040563 100644
--- a/configs/coreboot64_defconfig
+++ b/configs/coreboot64_defconfig
@@ -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
diff --git a/configs/coreboot_defconfig b/configs/coreboot_defconfig
index 311ca66..e7e45c2 100644
--- a/configs/coreboot_defconfig
+++ b/configs/coreboot_defconfig
@@ -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