]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg: SdMmc: Fix parameters order in EmmcSwitch functions call
authorJoe Zhou <shjzhou@marvell.com>
Wed, 22 Jun 2016 15:09:10 +0000 (23:09 +0800)
committerFeng Tian <feng.tian@intel.com>
Fri, 24 Jun 2016 03:26:53 +0000 (11:26 +0800)
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>
MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/EmmcDevice.c [changed mode: 0644->0755]
MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.c

old mode 100644 (file)
new mode 100755 (executable)
index 0796df3..ee53145
@@ -1079,7 +1079,7 @@ EmmcSetBusMode (
     //\r
     // Execute High Speed timing switch procedure\r
     //\r
-    Status = EmmcSwitchToHighSpeed (PciIo, PassThru, Slot, Rca, ClockFreq, BusWidth, IsDdr);\r
+    Status = EmmcSwitchToHighSpeed (PciIo, PassThru, Slot, Rca, ClockFreq, IsDdr, BusWidth);\r
   }\r
 \r
   DEBUG ((EFI_D_INFO, "EmmcSetBusMode: Switch to %a %r\n", (HsTiming == 3) ? "HS400" : ((HsTiming == 2) ? "HS200" : "HighSpeed"), Status));\r
index e23d03c2be2d6b54790273eb962607c9c7fd35bf..d6d3bdbd91ebfbaccfc5c6480c6b94c0f159fe45 100644 (file)
@@ -2805,7 +2805,7 @@ EmmcPeimSetBusMode (
     //\r
     // Execute High Speed timing switch procedure\r
     //\r
-    Status = EmmcPeimSwitchToHighSpeed (Slot, Rca, ClockFreq, BusWidth, IsDdr);\r
+    Status = EmmcPeimSwitchToHighSpeed (Slot, Rca, ClockFreq, IsDdr, BusWidth);\r
   }\r
 \r
   return Status;\r