aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-11-04 09:57:41 -0700
committerBin Meng <bmeng.cn@gmail.com>2020-11-06 09:51:33 +0800
commit98bf740e7f690951acf672486d57587e21237da8 (patch)
treeb9894ef1c6296aae3e94b5f28ebe27f4ec207c6c /arch/x86/lib
parent7f061e0d255d5cdfbd216960134ea66e474ae819 (diff)
downloadu-boot-98bf740e7f690951acf672486d57587e21237da8.zip
u-boot-98bf740e7f690951acf672486d57587e21237da8.tar.gz
u-boot-98bf740e7f690951acf672486d57587e21237da8.tar.bz2
x86: acpi: Don't show the UART address by default
This is useful when using Linux's earlycon since the MMIO address must be provided on some platforms, e.g.: earlycon=uart8250,mmio32,0xddffc000,115200n8 However this is only for debugging, so don't show it by default. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/lib')
-rw-r--r--arch/x86/lib/acpi_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/acpi_table.c b/arch/x86/lib/acpi_table.c
index 9f0871c..4fd8dc8 100644
--- a/arch/x86/lib/acpi_table.c
+++ b/arch/x86/lib/acpi_table.c
@@ -767,7 +767,7 @@ int acpi_write_dbg2_pci_uart(struct acpi_ctx *ctx, struct udevice *dev,
* 32-bits each. This is only for debugging so it is not a big deal.
*/
addr = dm_pci_read_bar32(dev, 0);
- printf("UART addr %lx\n", (ulong)addr);
+ log_debug("UART addr %lx\n", (ulong)addr);
memset(&address, '\0', sizeof(address));
address.space_id = ACPI_ADDRESS_SPACE_MEMORY;