From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::142; helo=mail-it1-x142.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-it1-x142.google.com (mail-it1-x142.google.com [IPv6:2607:f8b0:4864:20::142]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id BF4DB21A07A80 for ; Thu, 8 Nov 2018 03:46:34 -0800 (PST) Received: by mail-it1-x142.google.com with SMTP id d6so1092085itl.4 for ; Thu, 08 Nov 2018 03:46:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=yTRncx8NrYPl/VrIZ91M1c7NM+TJy+M9DaekZAXaDp4=; b=VAwAf9q9LyOgzontPD02vEMg/2WYG1jwPpmyymHioH6trMS6qXGiH6air1NSUBVU51 Ftzn3UdM5w3pclKpXBDvK1RP9n+H8HT2VvJ9N2q9SlRyosx8BemvqoPPlYpTvAq+czhz Tn6/LnbcxCxx9wallmC6aQvqDqgISrKFu4Auo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=yTRncx8NrYPl/VrIZ91M1c7NM+TJy+M9DaekZAXaDp4=; b=Tvuv/5H0gtt1JAWMghRYYJQLdpb895dcwKPSY6oVLjBqUyk6DRnWjWN7fO3t+MAf6u J5dj9Y1RRE2jit0jD94goh84Pjn3PYRJzxFtc+RH+/PUXWNG5B/IL9qP5gYac1DGgWj9 GF+eZK79flK3gsCoXSGRWKLyjZ3Sw5ieYdhLpGmIBZ5J0hwIIjpszdtyEQFSzf8nd8xv Iv5arlmwMwWadNDcVKPX4fPCoX43H+Tc74tDZsnkbRVtGzKYIUOfmE2YAHM/8tvjats4 O6j+W0c2XIXqtlItqxD5B0WkJsEiiZulaU8ASdWat2FrMPzwv9jywBF33KaSUtkgFmtw T23w== X-Gm-Message-State: AGRZ1gLslprudMi32AXeDfDcM8QP/teE5ZZcG+XWDFfDW6h4aE0WjBE9 38tB9NMZm/Y/tgtFdGLfiwfg/3Y82Dxoeyaod5/1xg== X-Google-Smtp-Source: AJdET5eSMTTaL3lHVWpmH1aj6Ow5OnVP73ukHB+UMtFQf1pIPuHysS+qX/NNU4HNugkV7f8A1ccqE8Fed5Wwg3t0SqQ= X-Received: by 2002:a24:7d8d:: with SMTP id b135-v6mr650865itc.121.1541677593715; Thu, 08 Nov 2018 03:46:33 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a6b:4f16:0:0:0:0:0 with HTTP; Thu, 8 Nov 2018 03:46:33 -0800 (PST) In-Reply-To: <1541642266-15643-2-git-send-email-mw@semihalf.com> References: <1541642266-15643-1-git-send-email-mw@semihalf.com> <1541642266-15643-2-git-send-email-mw@semihalf.com> From: Ard Biesheuvel Date: Thu, 8 Nov 2018 12:46:33 +0100 Message-ID: To: Marcin Wojtas Cc: "edk2-devel@lists.01.org" , Leif Lindholm , "Wu, Hao A" , Nadav Haklai , =?UTF-8?B?SmFuIETEhWJyb8Wb?= , Grzegorz Jaszczyk , Kostya Porotchkin , Tomasz Michalec Subject: Re: [platforms: PATCH v3 1/7] Silicon/SynQuacer/PlatformDxe: adjust to updated SdMmcOverride X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2018 11:46:35 -0000 Content-Type: text/plain; charset="UTF-8" On 8 November 2018 at 02:57, Marcin Wojtas wrote: > The newest changes in the SdMmcOverride protocol added additional > arguments to the NotifyPhase and Capability routines. Update > according places in the Synquacer Emmc driver. > > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Marcin Wojtas Reviewed-by: Ard Biesheuvel > --- > Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/Emmc.c | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > > diff --git a/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/Emmc.c b/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/Emmc.c > index e0987c9..47f5ccc 100644 > --- a/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/Emmc.c > +++ b/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/Emmc.c > @@ -72,6 +72,8 @@ STATIC VOID *mEventRegistration; > @param[in] ControllerHandle The EFI_HANDLE of the controller. > @param[in] Slot The 0 based slot index. > @param[in,out] SdMmcHcSlotCapability The SDHCI capability structure. > + @param[in,out] BaseClkFreq The base clock frequency value that > + optionally can be updated. > > @retval EFI_SUCCESS The override function completed successfully. > @retval EFI_NOT_FOUND The specified controller or slot does not exist. > @@ -84,7 +86,8 @@ EFIAPI > SynQuacerSdMmcCapability ( > IN EFI_HANDLE ControllerHandle, > IN UINT8 Slot, > - IN OUT VOID *SdMmcHcSlotCapability > + IN OUT VOID *SdMmcHcSlotCapability, > + IN OUT UINT32 *BaseClkFreq > ) > { > UINT64 Capability; > @@ -117,6 +120,7 @@ SynQuacerSdMmcCapability ( > @param[in] PhaseType The type of operation and whether the > hook is invoked right before (pre) or > right after (post) > + @param[in,out] PhaseData The pointer to a phase-specific data. > > @retval EFI_SUCCESS The override function completed successfully. > @retval EFI_NOT_FOUND The specified controller or slot does not exist. > @@ -129,7 +133,8 @@ EFIAPI > SynQuacerSdMmcNotifyPhase ( > IN EFI_HANDLE ControllerHandle, > IN UINT8 Slot, > - IN EDKII_SD_MMC_PHASE_TYPE PhaseType > + IN EDKII_SD_MMC_PHASE_TYPE PhaseType, > + IN OUT VOID *PhaseData > ) > { > if (ControllerHandle != mSdMmcControllerHandle) { > -- > 2.7.4 >