summaryrefslogtreecommitdiff
path: root/Omap35xxPkg
diff options
context:
space:
mode:
Diffstat (limited to 'Omap35xxPkg')
-rw-r--r--Omap35xxPkg/MMCHSDxe/MMCHS.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/Omap35xxPkg/MMCHSDxe/MMCHS.c b/Omap35xxPkg/MMCHSDxe/MMCHS.c
index 9ddb48a65b..786bc88273 100644
--- a/Omap35xxPkg/MMCHSDxe/MMCHS.c
+++ b/Omap35xxPkg/MMCHSDxe/MMCHS.c
@@ -1152,17 +1152,12 @@ SdReadWrite (
if (Update) {
DEBUG ((EFI_D_INFO, "SD Card ReinstallProtocolInterface ()\n"));
gBS->ReinstallProtocolInterface (
-
gImageHandle,
-
&gEfiBlockIoProtocolGuid,
-
&gBlockIo,
-
&gBlockIo
-
);
-
+ return EFI_MEDIA_CHANGED;
}
if (EFI_ERROR (Status)) {