soc/amd/cezanne: Optionally propagate UART0 through ACPI

Unable to passthrough the UART0 in domU when UART1 enabled in dom0

Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Change-Id: I7ccf366dbac556f68096382644f3e72b13e2dbf9
Reviewed-on: https://review.coreboot.org/c/coreboot/+/90210
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Maximilian Brune 2025-11-10 13:17:29 +01:00 committed by Felix Held
commit 97291b5838
2 changed files with 10 additions and 0 deletions

View file

@ -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

View file

@ -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")