On Thu, Sep 07, 2023 at 06:25:46PM +0800, caiyuqing...@163.com wrote: > From: caiyuqing379 <202235...@mail.sdu.edu.cn> > > This driver implements Sophgo SDHCI controller, which provides > the necessary interfaces for handling communication and data > transfer with SD cards. > > Signed-off-by: caiyuqing379 <202235...@mail.sdu.edu.cn> > Co-authored-by: USER0FISH <libing1...@outlook.com> > Cc: dahogn <dah...@hotmail.com> > Cc: meng-cz <mengcz1...@gmail.com> > Cc: yli147 <yong...@intel.com> > Cc: ChaiEvan <evan.c...@intel.com> > Cc: Sunil V L <suni...@ventanamicro.com> > Cc: Leif Lindholm <quic_llind...@quicinc.com> > --- > .../SG2042Pkg/Drivers/SdHostDxe/SdHostDxe.inf | 47 + > .../SG2042Pkg/Drivers/SdHostDxe/SdHci.h | 309 ++++++ > .../SG2042Pkg/Drivers/SdHostDxe/SdHci.c | 929 ++++++++++++++++++ > .../SG2042Pkg/Drivers/SdHostDxe/SdHostDxe.c | 450 +++++++++ > 4 files changed, 1735 insertions(+) > create mode 100644 Silicon/Sophgo/SG2042Pkg/Drivers/SdHostDxe/SdHostDxe.inf > create mode 100644 Silicon/Sophgo/SG2042Pkg/Drivers/SdHostDxe/SdHci.h > create mode 100755 Silicon/Sophgo/SG2042Pkg/Drivers/SdHostDxe/SdHci.c > create mode 100644 Silicon/Sophgo/SG2042Pkg/Drivers/SdHostDxe/SdHostDxe.c > > diff --git a/Silicon/Sophgo/SG2042Pkg/Drivers/SdHostDxe/SdHostDxe.inf > b/Silicon/Sophgo/SG2042Pkg/Drivers/SdHostDxe/SdHostDxe.inf > new file mode 100644 > index 000000000000..f4f51d8fde74 > --- /dev/null > +++ b/Silicon/Sophgo/SG2042Pkg/Drivers/SdHostDxe/SdHostDxe.inf > @@ -0,0 +1,47 @@ > +## @file > +# Component description file for the SD Host Controller DXE driver module. > +# > +# Copyright (c) 2019, ARM Limited. All rights reserved. > +# Copyright (c) 2017, Andrei Warkentin <andrey.warken...@gmail.com> > +# Copyright (c) Microsoft Corporation. All rights reserved. > +# Copyright (c) 2023, Academy of Intelligent Innovation, Shandong > Universiy, China.P.R. All rights reserved.<BR> > +# SPDX-License-Identifier: BSD-2-Clause-Patent > +# > +# > +## > + > +[Defines] > + INF_VERSION = 0x0001001A Just Curious. Why is INF_VERSION 0x0001001A? As per [1], I think new INF file should have version 1.27.
[1] - https://tianocore-docs.github.io/edk2-InfSpecification/draft/2_inf_overview/24_[defines]_section.html#24-defines-section Otherwise, Acked-by: Sunil V L <suni...@ventanamicro.com> -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108709): https://edk2.groups.io/g/devel/message/108709 Mute This Topic: https://groups.io/mt/101213491/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-