OvmfPkg: add runtime switch for sdcard support
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
a3c6636d1e
commit
0b0d6e42f4
@@ -14,7 +14,12 @@
|
||||
OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
|
||||
!endif
|
||||
!if $(SDCARD_ENABLE) == TRUE
|
||||
MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.inf
|
||||
MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.inf {
|
||||
<LibraryClasses>
|
||||
UefiDriverEntryPoint|OvmfPkg/Library/UefiDriverEntryPointFwCfgOverrideLib/UefiDriverEntryPointFwCfgOverrideLib.inf
|
||||
<PcdsFixedAtBuild>
|
||||
gUefiOvmfPkgTokenSpaceGuid.PcdEntryPointOverrideFwCfgVarName|"opt/org.tianocore/SDCardSupport"
|
||||
}
|
||||
MdeModulePkg/Bus/Sd/SdDxe/SdDxe.inf
|
||||
MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.inf
|
||||
!endif
|
||||
|
||||
@@ -247,3 +247,13 @@ qemu-system-x86_64 -fw_cfg name=opt/org.tianocore/UsbStorageSupport,string=yes
|
||||
```
|
||||
|
||||
|
||||
## Other: opt/org.tianocore/SDCardSupport
|
||||
|
||||
This enables/disables the edk2 drivers SD card support.
|
||||
Default: enabled. Usage:
|
||||
|
||||
```
|
||||
qemu-system-x86_64 -fw_cfg name=opt/org.tianocore/SDCardSupport,string=no
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user