mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
c7fefb6906
commit
91ff0f0591
|
@ -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));
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue