From 3670cc1bad12522e3f9eb86d923c52d4016f90e9 Mon Sep 17 00:00:00 2001 From: V Sowmya Date: Tue, 12 Sep 2017 14:52:12 +0530 Subject: intel/common/acpi: Use UART_BASE_0_ADDR macro for LPSS UART This patch fixes the build issue by replacing UART_DEBUG_BASE_ADDRESS macro with UART_BASE_0_ADDR macro to configure LPSS UART base adress for ACPI debug prints. TEST= Build and boot soraka and fetch the ASL debug prints. Change-Id: Ib31174701c56c88829ae0e725b546b66ea1ed16d Signed-off-by: V Sowmya Reviewed-on: https://review.coreboot.org/21513 Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik Reviewed-by: Sumeet R Pawnikar Reviewed-by: Aaron Durbin --- src/soc/intel/common/acpi/acpi_debug.asl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/soc') diff --git a/src/soc/intel/common/acpi/acpi_debug.asl b/src/soc/intel/common/acpi/acpi_debug.asl index aa7a1af577..d3860dd76c 100644 --- a/src/soc/intel/common/acpi/acpi_debug.asl +++ b/src/soc/intel/common/acpi/acpi_debug.asl @@ -58,7 +58,8 @@ Method (APRT, 1, Serialized) Store (INDX, LENG) /* Length of the String */ #if IS_ENABLED(CONFIG_DRIVERS_UART_8250MEM_32) - OperationRegion (UBAR, SystemMemory, UART_DEBUG_BASE_ADDRESS, 24) + OperationRegion (UBAR, SystemMemory, + UART_BASE_0_ADDR(CONFIG_UART_FOR_CONSOLE), 24) Field (UBAR, AnyAcc, NoLock, Preserve) { TDR, 8, /* Transmit Data Register BAR + 0x000 */ -- cgit v1.2.3