From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 5BE767803D1 for ; Fri, 15 Sep 2023 10:54:04 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=1E8DPZ1AaDs0JPqmINBnwekRp3/84A5DOvaO9NTZ5Kc=; c=relaxed/simple; d=groups.io; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Disposition; s=20140610; t=1694775242; v=1; b=hDEeAA+iIl+JSO+R4tfuYRXMAvWXD7Ak2gOJnP1ZGbopyYrhkGW5uyp9IIzDpkL4bFwDWA1i 9oP1Qai5SJcawZ2JuCDyXxQjA30NICPUnOn/QVeaBL8CeMSiEwmFWU01wTv+42S/gnuixgvKTiR W7gWFAGXxZHpTr6unrKOE13I= X-Received: by 127.0.0.2 with SMTP id KaivYY7687511x8VD1KHYnRI; Fri, 15 Sep 2023 03:54:02 -0700 X-Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mx.groups.io with SMTP id smtpd.web11.17652.1694775242134049988 for ; Fri, 15 Sep 2023 03:54:02 -0700 X-Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-68fbbea0dfeso1647531b3a.0 for ; Fri, 15 Sep 2023 03:54:02 -0700 (PDT) X-Gm-Message-State: V8BXSrVm0fVIPVFwAXReEIfdx7686176AA= X-Google-Smtp-Source: AGHT+IGtsH4cugZr0WGbXoW7GiUTPp1cFqpvsGlpOtW9V89jluP6pgRXdOLuM9k5K2h24iZz+Xxhlw== X-Received: by 2002:a05:6a20:3258:b0:157:dffb:fe1d with SMTP id hm24-20020a056a20325800b00157dffbfe1dmr1149499pzc.33.1694775241581; Fri, 15 Sep 2023 03:54:01 -0700 (PDT) X-Received: from sunil-laptop ([106.51.189.46]) by smtp.gmail.com with ESMTPSA id q12-20020a170902788c00b001c38cb9199fsm3174766pll.221.2023.09.15.03.53.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 03:54:01 -0700 (PDT) Date: Fri, 15 Sep 2023 16:23:55 +0530 From: "Sunil V L" To: caiyuqing_hz@163.com Cc: devel@edk2.groups.io, quic_llindhol@quicinc.com, libing1202@outlook.com, inochiama@outlook.com Subject: Re: [edk2-devel] [PATCH v3 4/8] Sophgo/SG2042Pkg: Add base MMC driver. Message-ID: References: MIME-Version: 1.0 In-Reply-To: Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,sunilvl@ventanamicro.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=hDEeAA+i; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io On Thu, Sep 07, 2023 at 06:25:47PM +0800, caiyuqing_hz@163.com wrote: > From: caiyuqing379 <202235273@mail.sdu.edu.cn> > > This driver implements the MMC Host protocol, which is used by SD > interface driver that the Sophgo SG2042 EVB supports. Add this driver > in Sophgo/SG2042Pkg leveraging the one form Embedded Package. > > Signed-off-by: caiyuqing379 <202235273@mail.sdu.edu.cn> > Co-authored-by: USER0FISH > Cc: dahogn > Cc: meng-cz > Cc: yli147 > Cc: ChaiEvan > Cc: Sunil V L > Cc: Leif Lindholm > --- > .../SG2042Pkg/Drivers/MmcDxe/MmcDxe.inf | 46 ++ > Silicon/Sophgo/SG2042Pkg/Drivers/MmcDxe/Mmc.h | 513 +++++++++++++ > Silicon/Sophgo/SG2042Pkg/Include/MmcHost.h | 225 ++++++ > .../SG2042Pkg/Drivers/MmcDxe/ComponentName.c | 156 ++++ > .../SG2042Pkg/Drivers/MmcDxe/Diagnostics.c | 323 ++++++++ > Silicon/Sophgo/SG2042Pkg/Drivers/MmcDxe/Mmc.c | 527 +++++++++++++ > .../SG2042Pkg/Drivers/MmcDxe/MmcBlockIo.c | 643 ++++++++++++++++ > .../SG2042Pkg/Drivers/MmcDxe/MmcDebug.c | 194 +++++ > .../Drivers/MmcDxe/MmcIdentification.c | 719 ++++++++++++++++++ > 9 files changed, 3346 insertions(+) > create mode 100644 Silicon/Sophgo/SG2042Pkg/Drivers/MmcDxe/MmcDxe.inf > create mode 100644 Silicon/Sophgo/SG2042Pkg/Drivers/MmcDxe/Mmc.h > create mode 100644 Silicon/Sophgo/SG2042Pkg/Include/MmcHost.h > create mode 100644 Silicon/Sophgo/SG2042Pkg/Drivers/MmcDxe/ComponentName.c > create mode 100644 Silicon/Sophgo/SG2042Pkg/Drivers/MmcDxe/Diagnostics.c > create mode 100644 Silicon/Sophgo/SG2042Pkg/Drivers/MmcDxe/Mmc.c > create mode 100644 Silicon/Sophgo/SG2042Pkg/Drivers/MmcDxe/MmcBlockIo.c > create mode 100644 Silicon/Sophgo/SG2042Pkg/Drivers/MmcDxe/MmcDebug.c > create mode 100644 Silicon/Sophgo/SG2042Pkg/Drivers/MmcDxe/MmcIdentification.c > > diff --git a/Silicon/Sophgo/SG2042Pkg/Drivers/MmcDxe/MmcDxe.inf b/Silicon/Sophgo/SG2042Pkg/Drivers/MmcDxe/MmcDxe.inf > new file mode 100644 > index 000000000000..0565fd229ad1 > --- /dev/null > +++ b/Silicon/Sophgo/SG2042Pkg/Drivers/MmcDxe/MmcDxe.inf > @@ -0,0 +1,46 @@ > +## @file > +# Component description file for the MMC DXE driver module. > +# > +# Copyright (c) 2011-2015, ARM Limited. All rights reserved. > +# Copyright (c) 2023, Academy of Intelligent Innovation, Shandong Universiy, China.P.R. All rights reserved.
> +# > +# SPDX-License-Identifier: BSD-2-Clause-Patent > +# > +## > + > +[Defines] > + INF_VERSION = 0x0001001A Same question on INF_VERSION. Otherwise, Acked-by: Sunil V L -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108710): https://edk2.groups.io/g/devel/message/108710 Mute This Topic: https://groups.io/mt/101213495/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-