From 0a506fc7ab8b5df2944d2e4602a46fbef57edc82 Mon Sep 17 00:00:00 2001 From: xuwei6 Date: Tue, 7 May 2019 17:11:11 +0800 Subject: MdeModulePkg: Remove BootInRecoveryMode PPI DEPEX from PEI storage stack. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1777 BootInRecoveryMode Ppi dependency should be removed from PEI storage stack drivers. Besides recovery, more features are using the storage stack. Platform can apply Ppi dependency in Recovery FV which contains full storage driver stack. Platform storage stack modules, such as host controller init PEI module, should also remove this dependency. Cc: Ray Ni Cc: Hao A Wu Signed-off-by: Wei6 Xu Reviewed-by: Hao A Wu Reviewed-by: Chao B Zhang --- MdeModulePkg/Bus/Usb/UsbBotPei/UsbBotPei.inf | 2 +- MdeModulePkg/Bus/Usb/UsbBusPei/UsbBusPei.inf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'MdeModulePkg/Bus/Usb') diff --git a/MdeModulePkg/Bus/Usb/UsbBotPei/UsbBotPei.inf b/MdeModulePkg/Bus/Usb/UsbBotPei/UsbBotPei.inf index f9f44a8..de2df5f 100644 --- a/MdeModulePkg/Bus/Usb/UsbBotPei/UsbBotPei.inf +++ b/MdeModulePkg/Bus/Usb/UsbBotPei/UsbBotPei.inf @@ -56,7 +56,7 @@ gPeiUsbIoPpiGuid [Depex] - gEfiPeiMemoryDiscoveredPpiGuid AND gPeiUsbIoPpiGuid AND gEfiPeiBootInRecoveryModePpiGuid + gEfiPeiMemoryDiscoveredPpiGuid AND gPeiUsbIoPpiGuid [UserExtensions.TianoCore."ExtraFiles"] UsbBotPeiExtra.uni diff --git a/MdeModulePkg/Bus/Usb/UsbBusPei/UsbBusPei.inf b/MdeModulePkg/Bus/Usb/UsbBusPei/UsbBusPei.inf index 617aa3b..31d7c2e 100644 --- a/MdeModulePkg/Bus/Usb/UsbBusPei/UsbBusPei.inf +++ b/MdeModulePkg/Bus/Usb/UsbBusPei/UsbBusPei.inf @@ -54,7 +54,7 @@ gPeiUsb2HostControllerPpiGuid ## SOMETIMES_CONSUMES [Depex] - gEfiPeiMemoryDiscoveredPpiGuid AND gEfiPeiBootInRecoveryModePpiGuid AND gPeiUsb2HostControllerPpiGuid OR gPeiUsbHostControllerPpiGuid + gEfiPeiMemoryDiscoveredPpiGuid AND gPeiUsb2HostControllerPpiGuid OR gPeiUsbHostControllerPpiGuid [UserExtensions.TianoCore."ExtraFiles"] UsbBusPeiExtra.uni -- cgit v1.1