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 87D209414DD for ; Mon, 23 Oct 2023 07:19:17 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=9E3jUO/af57z2hu1kjkyUrAhlnXiLC7CgN0jJV2nyiA=; c=relaxed/simple; d=groups.io; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Transfer-Encoding; s=20140610; t=1698045556; v=1; b=psbcxm1ETk7nAb+jQ4TTotapn7vut8aq2w/cTSIIzgHb9UfIISXZ2phWfYIEcTr3zCNISpNr ATS4ds45j8bjb046ZqxmqIAz5caMhOgTQqeWtsn/jcLk4eZZxzax9WtgxOHCvzpoqKZv8HcACRJ 9078tdxmO2rCavzQ0ipeo3BY= X-Received: by 127.0.0.2 with SMTP id 2EfEYY7687511xwl74ZTXxaA; Mon, 23 Oct 2023 00:19:16 -0700 X-Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by mx.groups.io with SMTP id smtpd.web10.115222.1698045555284787708 for ; Mon, 23 Oct 2023 00:19:15 -0700 X-Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id C610C8082; Mon, 23 Oct 2023 15:19:13 +0800 (CST) X-Received: from EXMBX073.cuchost.com (172.16.6.83) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 23 Oct 2023 15:19:13 +0800 X-Received: from localhost.localdomain (202.188.176.82) by EXMBX073.cuchost.com (172.16.6.83) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 23 Oct 2023 15:19:10 +0800 From: "John Chew" To: CC: John Chew , Sunil V L , Leif Lindholm , Michael D Kinney , "Cc : Li Yong" Subject: [edk2-devel] [PATCH v2 0/4] Patches for JH7110 SoC platform Date: Mon, 23 Oct 2023 15:18:47 +0800 Message-ID: <20231023071851.813-1-yuinyee.chew@starfivetech.com> MIME-Version: 1.0 X-Originating-IP: [202.188.176.82] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX073.cuchost.com (172.16.6.83) X-YovoleRuleAgent: yovoleflag 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,yuinyee.chew@starfivetech.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: Dd87KtChF1CJy9DAocgrc2pux7686176AA= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=psbcxm1E; 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 v2: - Include all maintainer in all patches in this series [Sunil] - Added missing commit message to patches 1/6, 2/6, 6/6 [Sunil] - Remove commented code in JH7110.h [Sunil] - Remove BootServicesDxe/BootServicesDxe.inf, as it is not required=20 anymore because memory allocation is handle by MMC driver [Sunil] - Remove PlatformBootManagerLib.inf and change PlatformBootManagerLib to "Platform/RISC-V/PlatformPkg/.../PlatformBootManagerLib.inf" [Sunil]=20 - Added PCDs for PCIE (Please refer to patch 0001 for details) [John Chew= ] v1: - In this patches it include all the platform specific drivers/protocol that is being use for JH7110 SoC platform. All the drivers includes: 1. PCIE driver for NVME and USB (GT710 graphic in progress) 2. QSPI Flash driver for efi variable 3. FVB driver for efi variable 4. Boot service memory allocation driver 5. Platform boot manager for graphical console display Reference branch: https://github.com/johnchewyy/edkii-platforms/tree/vf2_jh7110_devel_ups= tream Cc: Sunil V L Cc: Leif Lindholm Cc: Michael D Kinney Cc: Cc: Li Yong John Chew (2): StarFive/JH7110Pkg: Add SPI protocol and driver support StarFive/JH7110Pkg: Add firmware volume block protocol mindachen1987 (2): StarFive/JH7110Pkg: Add Pci controller driver StarFive/JH7110Pkg: Add JH7110 Silicon Package Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/FvbDxe/FvbDxe.c = | 909 ++++++++++++ Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/FvbDxe/FvbDxe.h = | 138 ++ Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/FvbDxe/FvbDxe.inf = | 70 + Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/SpiDxe/SpiDxe.c = | 893 ++++++++++++ Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/SpiDxe/SpiDxe.h = | 188 +++ Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/SpiDxe/SpiDxe.inf = | 52 + Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/SpiFlashDxe/SpiFlashDx= e.c | 571 ++++++++ Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/SpiFlashDxe/SpiFlashDx= e.h | 35 + Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/SpiFlashDxe/SpiFlashDx= e.inf | 44 + Silicon/StarFive/JH7110Pkg/Include/IndustryStandard/JH7110.h = | 21 + Silicon/StarFive/JH7110Pkg/Include/Protocol/Spi.h = | 163 +++ Silicon/StarFive/JH7110Pkg/Include/Protocol/SpiFlash.h = | 88 ++ Silicon/StarFive/JH7110Pkg/JH7110Pkg.dec = | 57 + Silicon/StarFive/JH7110Pkg/Library/PciHostBridgeLib/PciHostBridgeLib.c = | 263 ++++ Silicon/StarFive/JH7110Pkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf = | 61 + Silicon/StarFive/JH7110Pkg/Library/PciHostBridgeLib/PciHostBridgeLibConstr= uctor.c | 406 ++++++ Silicon/StarFive/JH7110Pkg/Library/PciSegmentLib/PciSegmentLib.c = | 1460 ++++++++++++++++++++ Silicon/StarFive/JH7110Pkg/Library/PciSegmentLib/PciSegmentLib.inf = | 33 + 18 files changed, 5452 insertions(+) create mode 100644 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/Fvb= Dxe/FvbDxe.c create mode 100644 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/Fvb= Dxe/FvbDxe.h create mode 100644 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/Fvb= Dxe/FvbDxe.inf create mode 100755 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/Spi= Dxe/SpiDxe.c create mode 100644 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/Spi= Dxe/SpiDxe.h create mode 100644 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/Spi= Dxe/SpiDxe.inf create mode 100755 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/Spi= FlashDxe/SpiFlashDxe.c create mode 100755 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/Spi= FlashDxe/SpiFlashDxe.h create mode 100644 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/Spi= FlashDxe/SpiFlashDxe.inf create mode 100644 Silicon/StarFive/JH7110Pkg/Include/IndustryStandard/JH7= 110.h create mode 100644 Silicon/StarFive/JH7110Pkg/Include/Protocol/Spi.h create mode 100644 Silicon/StarFive/JH7110Pkg/Include/Protocol/SpiFlash.h create mode 100644 Silicon/StarFive/JH7110Pkg/JH7110Pkg.dec create mode 100644 Silicon/StarFive/JH7110Pkg/Library/PciHostBridgeLib/Pci= HostBridgeLib.c create mode 100644 Silicon/StarFive/JH7110Pkg/Library/PciHostBridgeLib/Pci= HostBridgeLib.inf create mode 100644 Silicon/StarFive/JH7110Pkg/Library/PciHostBridgeLib/Pci= HostBridgeLibConstructor.c create mode 100644 Silicon/StarFive/JH7110Pkg/Library/PciSegmentLib/PciSeg= mentLib.c create mode 100644 Silicon/StarFive/JH7110Pkg/Library/PciSegmentLib/PciSeg= mentLib.inf --=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 (#109896): https://edk2.groups.io/g/devel/message/109896 Mute This Topic: https://groups.io/mt/102130701/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-