From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:4864:20::243; helo=mail-lj1-x243.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) (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 5EBDD21A00AE6 for ; Fri, 9 Nov 2018 15:02:12 -0800 (PST) Received: by mail-lj1-x243.google.com with SMTP id v1-v6so2974402ljd.0 for ; Fri, 09 Nov 2018 15:02:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=DmUp2larQt1RzJD8aYEXBaQUyb2qTF9hcRykWfrusVM=; b=w2LJkr7OkW1+ntmgFGE2fQ8dONgCcNqaEB7u/3iz+bJID0juT//g+LPUa6l9evva7H c097Xk3WV5NNixDpzjLk0lJMy9quI4jKE0IfTuwXSPx4f7wfbmKFSYU2dtYZk9kIcQ5g CK/9AZDKMUhrlQvTnL7O/9fx9iCIW6H3fFVzSnZBbEtkQ6HC28tMMpj2SL1l1hGQedcZ 1IbYxrZHjawvgdcTvaqWBRwhCJplMbdRzXUxen88hwARko+ypr6i0t7fr7K08jkvg72N SAQHsrg/HW8JpIK+msoSvUfIcH12fPiTvvURV0ETFQ6ivTkhJsxfHX8PZ9ctL/JGWptr ylqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=DmUp2larQt1RzJD8aYEXBaQUyb2qTF9hcRykWfrusVM=; b=lmpkTIls5dqpCe3UL7S7kt9C2t3pNWaGVSQvoJC9Q+nY369/37J3P193jPo5shBPO2 vcmPI3czwIzjgdiLvYRck/htCM/BheXKdxPDKuOFmaMmdUBx8k5A1a1+6UHEh8GHvpRh jU1+bTLE670G1VQ4JvlRveuxCZBYFlT3t/5DneVD22XJQ+n/zjjw6JU/1oOWXWDvotZ+ ivKc/1i4Ks7/Z+wPRqvDNcLDW4D+jQkuKLVyORDYSPvU+QVL8ct9jsGm5+wg0R6bff9u pw5ufHz8jmBhOPFzOifg+e2jhF19QhCv0JEcOuLP8YfdMkXrItiFTr94wq9EOS6A8PZh pjuQ== X-Gm-Message-State: AGRZ1gLGB2wkmzmkTghWZXlyEHooFf2Y1EcKWJ0P1EE0qGsZxDtm/a7v h7tAhm5ksfuTivHDv9lpsBbtAoynxjw= X-Google-Smtp-Source: AJdET5dvGhiDZHArLX0UGAIjOQsQUcJVpSC8XbkofFcszB156teLnA0XKxUViTMvurAk7zk5hVlUHw== X-Received: by 2002:a2e:9017:: with SMTP id h23-v6mr5839478ljg.71.1541804530470; Fri, 09 Nov 2018 15:02:10 -0800 (PST) Received: from gilgamesh.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id a127sm1274268lfe.73.2018.11.09.15.02.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Nov 2018 15:02:09 -0800 (PST) From: Marcin Wojtas To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, ard.biesheuvel@linaro.org, hao.a.wu@intel.com, nadavh@marvell.com, mw@semihalf.com, jsd@semihalf.com, jaz@semihalf.com, kostap@marvell.com, tm@semihalf.com Date: Sat, 10 Nov 2018 00:01:42 +0100 Message-Id: <1541804508-27499-2-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1541804508-27499-1-git-send-email-mw@semihalf.com> References: <1541804508-27499-1-git-send-email-mw@semihalf.com> Subject: [platforms: PATCH v4 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: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 X-List-Received-Date: Fri, 09 Nov 2018 23:02:12 -0000 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 --- 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