From: Joe Zhou <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Joe Zhou <[email protected]>
Signed-off-by: Jan Dabros <[email protected]>
Signed-off-by: Marcin Wojtas <[email protected]>
---
MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/EmmcDevice.c | 2 +-
MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
mode change 100644 => 100755 MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/EmmcDevice.c
diff --git a/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/EmmcDevice.c
b/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/EmmcDevice.c
old mode 100644
new mode 100755
index 0796df3..ee53145
--- 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));
diff --git a/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.c
b/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.c
index e23d03c..d6d3bdb 100644
--- a/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.c
+++ b/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.c
@@ -2805,7 +2805,7 @@ EmmcPeimSetBusMode (
//
// Execute High Speed timing switch procedure
//
- Status = EmmcPeimSwitchToHighSpeed (Slot, Rca, ClockFreq, BusWidth, IsDdr);
+ Status = EmmcPeimSwitchToHighSpeed (Slot, Rca, ClockFreq, IsDdr, BusWidth);
}
return Status;
--
1.8.3.1
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel