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:
parent
cce822840d
commit
06c022f3a1
|
@ -200,7 +200,7 @@ void smihandler_southbridge_sleep(
|
|||
break;
|
||||
case ACPI_S3:
|
||||
printk(BIOS_DEBUG, "SMI#: Entering S3 (Suspend-To-RAM)\n");
|
||||
|
||||
if (CONFIG(SOC_INTEL_COMMON_BLOCK_UART))
|
||||
gnvs->uior = uart_is_controller_initialized();
|
||||
|
||||
/* Invalidate the cache before going to S3 */
|
||||
|
|
Loading…
Reference in New Issue