X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FBus%2FSd%2FEmmcBlockIoPei%2FEmmcHci.c;h=5a9e0b2f14eadd0bee24c565e66bd7fb949b9d77;hb=cd5b2ae437553df0e491f926b8748bf88809e76a;hp=e23d03c2be2d6b54790273eb962607c9c7fd35bf;hpb=8c983d3e06da799e623a9f46fcaa207455482091;p=mirror_edk2.git diff --git a/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.c b/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.c index e23d03c2be..5a9e0b2f14 100644 --- a/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.c +++ b/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.c @@ -2520,9 +2520,6 @@ EmmcPeimSwitchToHighSpeed ( HsTiming = 1; Status = EmmcPeimSwitchClockFreq (Slot, Rca, HsTiming, ClockFreq); - if (EFI_ERROR (Status)) { - return Status; - } return Status; } @@ -2805,7 +2802,7 @@ EmmcPeimSetBusMode ( // // Execute High Speed timing switch procedure // - Status = EmmcPeimSwitchToHighSpeed (Slot, Rca, ClockFreq, BusWidth, IsDdr); + Status = EmmcPeimSwitchToHighSpeed (Slot, Rca, ClockFreq, IsDdr, BusWidth); } return Status;