Commit 98bf740e authored by Simon Glass's avatar Simon Glass Committed by Bin Meng
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent 7f061e0d
...@@ -767,7 +767,7 @@ int acpi_write_dbg2_pci_uart(struct acpi_ctx *ctx, struct udevice *dev, ...@@ -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. * 32-bits each. This is only for debugging so it is not a big deal.
*/ */
addr = dm_pci_read_bar32(dev, 0); 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)); memset(&address, '\0', sizeof(address));
address.space_id = ACPI_ADDRESS_SPACE_MEMORY; address.space_id = ACPI_ADDRESS_SPACE_MEMORY;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment