public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: Marcin Wojtas <mw@semihalf.com>
Cc: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>,
	"Leif Lindholm" <leif.lindholm@linaro.org>,
	"Wu, Hao A" <hao.a.wu@intel.com>,
	"Nadav Haklai" <nadavh@marvell.com>,
	"Jan Dąbroś" <jsd@semihalf.com>,
	"Tomasz Michalec" <tm@semihalf.com>
Subject: Re: [platforms: PATCH v2 1/7] Silicon/SynQuacer/PlatformDxe: adjust to updated SdMmcOverride
Date: Mon, 8 Oct 2018 14:50:18 +0200	[thread overview]
Message-ID: <CAKv+Gu9wDoXoGhHDjKnptN8ju9u8W_zHbOeHr87k+DEc=3yGEA@mail.gmail.com> (raw)
In-Reply-To: <1538745968-22526-2-git-send-email-mw@semihalf.com>

On 5 October 2018 at 15:26, Marcin Wojtas <mw@semihalf.com> 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 <mw@semihalf.com>
> ---
>  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..0a917a5 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]  Data                  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                            *Data

Please align the name with the EDK2 changes.

>    )
>  {
>    if (ControllerHandle != mSdMmcControllerHandle) {
> --
> 2.7.4
>


  reply	other threads:[~2018-10-08 12:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-05 13:26 [platforms: PATCH v2 0/7] Armada7k8k Xenon driver rework Marcin Wojtas
2018-10-05 13:26 ` [platforms: PATCH v2 1/7] Silicon/SynQuacer/PlatformDxe: adjust to updated SdMmcOverride Marcin Wojtas
2018-10-08 12:50   ` Ard Biesheuvel [this message]
2018-10-05 13:26 ` [platforms: PATCH v2 2/7] Marvell/Library: ArmadaBoardDescLib: Extend SDMMC information Marcin Wojtas
2018-10-05 13:26 ` [platforms: PATCH v2 3/7] SolidRun/Armada80x0McBin: Introduce board description library Marcin Wojtas
2018-10-05 13:26 ` [platforms: PATCH v2 4/7] Marvell/Armada70x0Db: " Marcin Wojtas
2018-10-05 13:26 ` [platforms: PATCH v2 5/7] Marvell/Armada80x0Db: " Marcin Wojtas
2018-10-08 12:52   ` Ard Biesheuvel
2018-10-08 13:28     ` Marcin Wojtas
2018-10-08 13:31       ` Ard Biesheuvel
2018-10-05 13:26 ` [platforms: PATCH v2 6/7] Marvell/Drivers: MvBoardDesc: Extend information for SdMmc Marcin Wojtas
2018-10-05 13:26 ` [platforms: PATCH v2 7/7] Marvell/Drivers: XenonDxe: Switch to use generic SdMmcPciHcDxe Marcin Wojtas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKv+Gu9wDoXoGhHDjKnptN8ju9u8W_zHbOeHr87k+DEc=3yGEA@mail.gmail.com' \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox