diff --git a/src/soc/amd/cezanne/Kconfig b/src/soc/amd/cezanne/Kconfig index e7767f36f4..eeb4266c84 100644 --- a/src/soc/amd/cezanne/Kconfig +++ b/src/soc/amd/cezanne/Kconfig @@ -351,6 +351,14 @@ config DISABLE_KEYBOARD_RESET_PIN functionality isn't disabled, configuring it as an output and driving it as 0 will cause a reset. +config UART0_REMOVE_FROM_DSDT + bool "Do not add UART0 to ACPI DSDT" + default n + help + Select this option to remove the UART0 device from the ACPI DSDT, so that the UART + can be passed through to domU instead of being used by dom0 in the virtualization + case. + menu "PSP Configuration Options" config AMDFW_CONFIG_FILE diff --git a/src/soc/amd/cezanne/acpi/mmio.asl b/src/soc/amd/cezanne/acpi/mmio.asl index c138cbcb03..647ab748f2 100644 --- a/src/soc/amd/cezanne/acpi/mmio.asl +++ b/src/soc/amd/cezanne/acpi/mmio.asl @@ -94,6 +94,7 @@ Device (MMC0) } } +#if !CONFIG(UART0_REMOVE_FROM_DSDT) Device (FUR0) { Name (_HID, "AMDI0020") @@ -131,6 +132,7 @@ Device (FUR0) AOAC_DEVICE(FCH_AOAC_DEV_UART0, 0) } +#endif Device (FUR1) { Name (_HID, "AMDI0020")