summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe
diff options
context:
space:
mode:
authorJoe Zhou <shjzhou@marvell.com>2016-06-22 23:09:10 +0800
committerFeng Tian <feng.tian@intel.com>2016-06-24 11:26:53 +0800
commit91ff0f05914a4ee153c0a6241a2f8e93f9316325 (patch)
treeca08fe7edc8c6c3ec850b7112ba3784c206f201f /MdeModulePkg/Bus/Pci/SdMmcPciHcDxe
parentc7fefb690661f2e38afcb8200bd318ecf38ab961 (diff)
downloadedk2-platforms-91ff0f05914a4ee153c0a6241a2f8e93f9316325.tar.xz
MdeModulePkg: SdMmc: Fix parameters order in EmmcSwitch functions call
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Joe Zhou <shjzhou@marvell.com> Signed-off-by: Jan Dabros <jsd@semihalf.com> Signed-off-by: Marcin Wojtas <mw@semihalf.com> Reviewed-by: Feng Tian <feng.tian@intel.com>
Diffstat (limited to 'MdeModulePkg/Bus/Pci/SdMmcPciHcDxe')
-rwxr-xr-x[-rw-r--r--]MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/EmmcDevice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/EmmcDevice.c b/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/EmmcDevice.c
index 0796df393a..ee5314510b 100644..100755
--- a/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/EmmcDevice.c
+++ b/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/EmmcDevice.c
@@ -1079,7 +1079,7 @@ EmmcSetBusMode (
//
// Execute High Speed timing switch procedure
//
- Status = EmmcSwitchToHighSpeed (PciIo, PassThru, Slot, Rca, ClockFreq, BusWidth, IsDdr);
+ Status = EmmcSwitchToHighSpeed (PciIo, PassThru, Slot, Rca, ClockFreq, IsDdr, BusWidth);
}
DEBUG ((EFI_D_INFO, "EmmcSetBusMode: Switch to %a %r\n", (HsTiming == 3) ? "HS400" : ((HsTiming == 2) ? "HS200" : "HighSpeed"), Status));