summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorvin Köhne <corvink@FreeBSD.org>2023-07-11 09:16:38 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-07-31 01:13:47 +0000
commit70f3e62dc73d28962b833373246ef25c865c575e (patch)
tree7eea50cc5e8f93b30bcd26a780d0faae58270d5c
parentf2849815068e16c77eac0ebaec5e2319627b3d9a (diff)
downloadedk2-70f3e62dc73d28962b833373246ef25c865c575e.tar.gz
edk2-70f3e62dc73d28962b833373246ef25c865c575e.tar.bz2
edk2-70f3e62dc73d28962b833373246ef25c865c575e.zip
OvmfPkg/BhyvePkg: enable bus enumeration
bhyve supports adding a ROM to PCI devices. It was added to support GPU passthrough of dedicated AMD GPUs. At the moment, this ROM file is mostly useless as it's not shadowed and executed by firmware. Change that by enabling bus enumeration. Signed-off-by: Corvin Köhne <corvink@FreeBSD.org> Acked-by: Peter Grehan <grehan@freebsd.org> Reviewed-by: Rebecca Cran <rebecca@bsdio.com> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Rebecca Cran <rebecca@bsdio.com>
-rw-r--r--OvmfPkg/Bhyve/BhyveX64.dsc1
1 files changed, 0 insertions, 1 deletions
diff --git a/OvmfPkg/Bhyve/BhyveX64.dsc b/OvmfPkg/Bhyve/BhyveX64.dsc
index 873eec6090..82c60ace1b 100644
--- a/OvmfPkg/Bhyve/BhyveX64.dsc
+++ b/OvmfPkg/Bhyve/BhyveX64.dsc
@@ -428,7 +428,6 @@
!endif
[PcdsFixedAtBuild]
- gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1