From nobody Fri Dec 27 00:25:16 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+108383+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+108383+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=163.com ARC-Seal: i=1; a=rsa-sha256; t=1694090653; cv=none; d=zohomail.com; s=zohoarc; b=fW01ukjt+og2NEiNlB/iEqmtME+I13tcOc0f/GFUdH3z+2nXFRtZWHqIRYcn1FmiRdtcixvLFEBtKuLEdeOdgp1e5rQ5pd1UMPCJ1vObZ9mYWLHeYQ7PyqIRe9kCvrL2xjH2qOtDUNKb+R/Fn5yFiNDL+h4z2fAtLMjHChaIIWM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694090653; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=cd+K9ZmAZ1bP552niJCZOL9SHe7/vxQKMTNGjjYJSWg=; b=KmZVteZpyDEMOzv15pWPIADgKap6h2H/jmv9XqOMQAaPUWdjeeYaZNN6LkkfGyyAJcqvm8mIICVy0RVGneiPxoeBjvQmU4/lwpyoNGgbs2RncTZTN23Au9yP33zNsklIC1qdh0BVwpP2d9TX48iUrj7sL//UScpW29yR1wUGgY0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+108383+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1694090653508504.12706229899175; Thu, 7 Sep 2023 05:44:13 -0700 (PDT) Return-Path: DKIM-Signature: a=rsa-sha256; bh=dNIdNrX86KdxqmBdQBufIr1JA0twXggSdY6W6VRa5R8=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1694090653; v=1; b=vNku8SrKETUgQ02AI8HOZaONygWitn4a60y9W6Tu/klzZ6JNlzbb8DaSUBqjNnQ+fb9YU7Wp QK88hym3FtGK3ZzF4BEELW7jzjslsrhgHmJN7nXz6iPFSmjLF8P8Uvd3SvTyF5R0wnQq9TcyEbC GO7pbqnxmdNdgoxqjGQ4zmjw= X-Received: by 127.0.0.2 with SMTP id 2XFOYY1788612xMiGZmCV1j9; Thu, 07 Sep 2023 05:44:13 -0700 X-Received: from m12.mail.163.com (m12.mail.163.com [220.181.12.197]) by mx.groups.io with SMTP id smtpd.web10.9587.1694082364514493087 for ; Thu, 07 Sep 2023 03:26:04 -0700 X-Received: from rv-uefi.. (unknown [211.87.236.31]) by zwqz-smtp-mta-g3-1 (Coremail) with SMTP id _____wD3_7Mvpflkm92eBQ--.53719S9; Thu, 07 Sep 2023 18:25:56 +0800 (CST) From: caiyuqing_hz@163.com To: devel@edk2.groups.io Cc: sunilvl@ventanamicro.com, quic_llindhol@quicinc.com, libing1202@outlook.com, inochiama@outlook.com Subject: [edk2-devel] [PATCH v3 7/8] Sophgo/SG2042Pkg: Add SG2042Pkg. Date: Thu, 7 Sep 2023 18:25:50 +0800 Message-Id: <58ccdbed518781c2f0fea1e86d47df4a2ab3f1c3.1694010673.git.202235273@mail.sdu.edu.cn> In-Reply-To: References: MIME-Version: 1.0 X-CM-TRANSID: _____wD3_7Mvpflkm92eBQ--.53719S9 X-Coremail-Antispam: 1Uf129KBjvJXoWxAryUKw1ktryDZFWxur13twb_yoWrXF48pr 4rZFnxKrWxG34xtr43Kayj9r15AF1FkF1DA3srCw15u393Ja1fZ3WjgFyxJFWxJr4xCw1x Kr4aqFWFkF90qaUanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07jIRRiUUUUU= X-Originating-IP: [211.87.236.31] X-CM-SenderInfo: 5fdl535tlqwslk26il2tof0z/1tbiSBvjxV+Fh2hf7gAAsx 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,caiyuqing_hz@163.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: JfU7chYGM3tAd1SRMdXW3R2mx1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1694090653919100015 Content-Type: text/plain; charset="utf-8" From: caiyuqing379 <202235273@mail.sdu.edu.cn> Add SG2042Pkg for Sophgo SG2042 platform. Provides PCD tokens. 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 --- Silicon/Sophgo/SG2042Pkg/SG2042Pkg.dec | 35 +++++++++++++++++++++ Silicon/Sophgo/SG2042Pkg/SG2042Pkg.uni | 13 ++++++++ Silicon/Sophgo/SG2042Pkg/SG2042PkgExtra.uni | 12 +++++++ 3 files changed, 60 insertions(+) create mode 100644 Silicon/Sophgo/SG2042Pkg/SG2042Pkg.dec create mode 100644 Silicon/Sophgo/SG2042Pkg/SG2042Pkg.uni create mode 100644 Silicon/Sophgo/SG2042Pkg/SG2042PkgExtra.uni diff --git a/Silicon/Sophgo/SG2042Pkg/SG2042Pkg.dec b/Silicon/Sophgo/SG2042= Pkg/SG2042Pkg.dec new file mode 100644 index 000000000000..ed242de3651d --- /dev/null +++ b/Silicon/Sophgo/SG2042Pkg/SG2042Pkg.dec @@ -0,0 +1,35 @@ +## @file SG2042Pkg.dec +# This Package provides modules and libraries.for Sophgo SG2042 platform. +# +# Copyright (c) 2023, Academy of Intelligent Innovation, Shandong Universi= y, China.P.R. All rights reserved.
+# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +[Defines] + DEC_SPECIFICATION =3D 0x0001001b + PACKAGE_NAME =3D SG2042Pkg + PACKAGE_UNI_FILE =3D SG2042Pkg.uni + PACKAGE_GUID =3D A10E7DF0-B8AB-4DD0-B383-46358139D313 + PACKAGE_VERSION =3D 1.0 + +[Includes] + Include + +[Protocols] + gSophgoMmcHostProtocolGuid =3D { 0x3E591C00, 0x9E4A, 0x11DF, {0x92, 0x44= , 0x00, 0x02, 0xA5, 0xF5, 0xF5, 0x1B } } + +[Guids] + gSophgoSG2042PlatformPkgTokenSpaceGuid =3D {0x779E9346, 0x3C24, 0x478C,= { 0xB1, 0x60, 0xB6, 0x09, 0xFC, 0xED, 0xA0, 0x72 }} + +[PcdsFixedAtBuild] + gSophgoSG2042PlatformPkgTokenSpaceGuid.PcdSG2042SDIOBase|0x0|UINT64|0x00= 001001 + gSophgoSG2042PlatformPkgTokenSpaceGuid.PcdForceNoMMU|0x0|BOOLEAN|0x1002 + gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x0|UINT64|0x000010= 04 + gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|0x0|UINT64|0x00001005 + gHisiTokenSpaceGuid.PcdSerialPortSendDelay|0x0|UINT32|0x00001006 + gHisiTokenSpaceGuid.PcdUartClkInHz|0x0|UINT32|0x00001007 + +[UserExtensions.TianoCore."ExtraFiles"] + SG2042PkgExtra.uni diff --git a/Silicon/Sophgo/SG2042Pkg/SG2042Pkg.uni b/Silicon/Sophgo/SG2042= Pkg/SG2042Pkg.uni new file mode 100644 index 000000000000..c7a606cbb2f3 --- /dev/null +++ b/Silicon/Sophgo/SG2042Pkg/SG2042Pkg.uni @@ -0,0 +1,13 @@ +// /** @file +// Sophgo SG2042 Package Localized Strings and Content. +// +// Copyright (c) 2023, Academy of Intelligent Innovation, Shandong Univers= iy, China.P.R. All rights reserved.
+// +// SPDX-License-Identifier: BSD-2-Clause-Patent +// +// **/ + + +#string STR_PACKAGE_ABSTRACT #language en-US "Provides Sophgo R= ISC-V SG2042 platform modules and libraries" + +#string STR_PACKAGE_DESCRIPTION #language en-US "This Package Soph= go RISC-V SG2042 platform modules and libraries." diff --git a/Silicon/Sophgo/SG2042Pkg/SG2042PkgExtra.uni b/Silicon/Sophgo/S= G2042Pkg/SG2042PkgExtra.uni new file mode 100644 index 000000000000..b14545b214eb --- /dev/null +++ b/Silicon/Sophgo/SG2042Pkg/SG2042PkgExtra.uni @@ -0,0 +1,12 @@ +// /** @file +// SiFive U5 Series Package Localized Strings and Content. +// +// Copyright (c) 2019, Hewlett Packard Enterprise Development LP. All righ= ts reserved.
+// +// SPDX-License-Identifier: BSD-2-Clause-Patent +// +// **/ + +#string STR_PROPERTIES_PACKAGE_NAME +#language en-US +"SG2042 platform package" --=20 2.34.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108383): https://edk2.groups.io/g/devel/message/108383 Mute This Topic: https://groups.io/mt/101213496/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-