soc/intel/common/block/smm: Fix compilation without intel uart code

Allow to link the smihandler when not selecting SOC_INTEL_COMMON_BLOCK_UART.

Change-Id: Iabca81c958d00c48e0616579cbba61d254c5eb68
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46224
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Christian Walter <christian.walter@9elements.com>
This commit is contained in:
Patrick Rudolph 2020-10-08 16:36:25 +02:00 committed by Patrick Georgi
parent cce822840d
commit 06c022f3a1
1 changed files with 2 additions and 2 deletions

View File

@ -200,8 +200,8 @@ void smihandler_southbridge_sleep(
break; break;
case ACPI_S3: case ACPI_S3:
printk(BIOS_DEBUG, "SMI#: Entering S3 (Suspend-To-RAM)\n"); printk(BIOS_DEBUG, "SMI#: Entering S3 (Suspend-To-RAM)\n");
if (CONFIG(SOC_INTEL_COMMON_BLOCK_UART))
gnvs->uior = uart_is_controller_initialized(); gnvs->uior = uart_is_controller_initialized();
/* Invalidate the cache before going to S3 */ /* Invalidate the cache before going to S3 */
wbinvd(); wbinvd();