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 C8816AC0931 for ; Thu, 2 Nov 2023 03:46:40 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=BVJaAoHKiLzUN62ZtRLnSFa9rXbaFaugxlg67kuMqyE=; 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-Transfer-Encoding:Content-Type; s=20140610; t=1698896799; v=1; b=X2/vBGVAikWaNwoQR1mx5bKPhpifJNp61H05DCveZcuJIW94IzArUZh6jwPNV+tlysm49cS9 mogd4YDkSfjXwq+yEZfDpa7EON+bnlIsY8Od/fe4sQcaq4+S5o36zrB363Wbv/Op1avS9A4BY8O Xf5dfK96JHRLBmQ5dm6lY7sU= X-Received: by 127.0.0.2 with SMTP id OaO2YY7687511xOqFGc3nLI7; Wed, 01 Nov 2023 20:46:39 -0700 X-Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mx.groups.io with SMTP id smtpd.web10.23857.1698896798690808629 for ; Wed, 01 Nov 2023 20:46:38 -0700 X-Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3A1Kj2Jc015776; Wed, 1 Nov 2023 20:46:38 -0700 X-Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3u3wyn91eu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 01 Nov 2023 20:46:37 -0700 X-Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Wed, 1 Nov 2023 20:46:35 -0700 X-Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Wed, 1 Nov 2023 20:46:35 -0700 X-Received: from MRVL-5Lp9he46Ey.marvell.com (unknown [10.193.67.58]) by maili.marvell.com (Postfix) with ESMTP id 66B983F7052; Wed, 1 Nov 2023 20:46:17 -0700 (PDT) From: "Narinder Dhillon" To: CC: , , , Narinder Dhillon Subject: [edk2-devel] [edk2-platforms PATCH v2 0/1] Marvell package restructure Date: Thu, 2 Nov 2023 09:15:51 +0530 Message-ID: <20231102034552.4515-1-ndhillon@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: VnnYgpN2Mi2F1nS0nQstdl3VzMgAXBrK X-Proofpoint-ORIG-GUID: VnnYgpN2Mi2F1nS0nQstdl3VzMgAXBrK 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,ndhillon@marvell.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: WExDqI7Rt3tH87BDopWrcVRyx7686176AA= Content-Transfer-Encoding: 8bit Content-Type: text/plain X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b="X2/vBGVA"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=marvell.com (policy=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 From: Narinder Dhillon Current Silicon/Marvell package structure does not allow sharing of components that are common to different SoC's. This restructure will increase shared code and better seperation. Credit to Leif Lindholm for providing this new structure. v2: - Remove three lines for libraries that were erroneously introduced into MarvellSiliconPkg.dec file. These libraries are present in Armada7k8k.dsc.inc - Removed trailing new line at the end of MarvellSiliconPkg.dec - Squashed patches 2,3,4 into 1 as they don't build separately v1: - Original patch series restructuring Marvell package Narinder Dhillon (1): Silicon/Marvell: Retructure package .../Marvell/Armada70x0Db/Armada70x0Db.dsc | 108 ++++----- .../Armada70x0DbBoardDescLib.inf | 2 +- .../NonDiscoverableInitLib.inf | 2 +- .../Marvell/Armada80x0Db/Armada80x0Db.dsc | 133 ++++++----- .../Armada80x0DbBoardDescLib.inf | 2 +- .../NonDiscoverableInitLib.inf | 2 +- .../Cn9130DbABoardDescLib.inf | 2 +- .../Cn9132DbABoardDescLib.inf | 2 +- Platform/Marvell/Cn913xDb/Cn9130DbA.dsc.inc | 100 ++++----- Platform/Marvell/Cn913xDb/Cn9131DbA.dsc.inc | 66 +++--- Platform/Marvell/Cn913xDb/Cn9132DbA.dsc.inc | 66 +++--- Platform/Marvell/Cn913xDb/Cn913xDbA.dsc | 8 +- .../NonDiscoverableInitLib.inf | 2 +- .../Armada80x0McBin/Armada80x0McBin.dsc | 116 +++++----- .../Armada80x0McBinBoardDescLib.inf | 2 +- .../NonDiscoverableInitLib.inf | 2 +- .../BoardDescriptionLib.inf | 2 +- .../Cn913xCEx7Eval/Cn9130Eval.dsc.inc | 40 ++-- .../Cn913xCEx7Eval/Cn9131Eval.dsc.inc | 56 ++--- .../Cn913xCEx7Eval/Cn9132Eval.dsc.inc | 56 ++--- .../Cn913xCEx7Eval/Cn913xCEx7.dsc.inc | 60 ++--- .../Cn913xCEx7Eval/Cn913xCEx7Eval.dsc | 6 +- .../NonDiscoverableInitLib.inf | 2 +- .../Applications/EepromCmd/EepromCmd.inf | 2 +- .../Applications/FirmwareUpdate/FUpdate.inf | 6 +- .../Applications/SpiTool/SpiFlashCmd.inf | 6 +- .../Armada7k8k/AcpiTables/Armada70x0Db.inf | 2 +- .../Armada7k8k/AcpiTables/Armada80x0Db.inf | 2 +- .../Armada7k8k/AcpiTables/Armada80x0McBin.inf | 2 +- Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc | 22 +- .../Armada7k8kRngDxe/Armada7k8kRngDxe.inf | 4 +- .../Drivers/PlatInitDxe/PlatInitDxe.inf | 6 +- .../PlatformFlashAccessLib.inf | 6 +- .../Library/Armada7k8kLib/Armada7k8kLib.inf | 4 +- .../Armada7k8kMemoryInitPeiLib.inf | 14 +- .../PciHostBridgeLib.inf | 2 +- .../Armada7k8kPciSegmentLib/PciSegmentLib.inf | 2 +- .../Armada7k8kSampleAtResetLib.inf | 2 +- .../Armada7k8kSoCDescLib.inf | 4 +- .../RealTimeClockLib/RealTimeClockLib.inf | 4 +- .../Marvell/Documentation/PortingGuide.txt | 114 +++++----- .../Drivers/BoardDesc/MvBoardDescDxe.inf | 18 +- .../Drivers/Gpio/MvGpioDxe/MvGpioDxe.inf | 2 +- .../Gpio/MvPca95xxDxe/MvPca95xxDxe.inf | 2 +- .../Drivers/I2c/MvEepromDxe/MvEepromDxe.inf | 6 +- .../Marvell/Drivers/I2c/MvI2cDxe/MvI2cDxe.inf | 14 +- .../Drivers/Net/MvMdioDxe/MvMdioDxe.inf | 2 +- .../Marvell/Drivers/Net/MvPhyDxe/MvPhyDxe.inf | 12 +- Silicon/Marvell/Drivers/Net/Pp2Dxe/Pp2Dxe.inf | 16 +- .../NonDiscoverableDxe/NonDiscoverableDxe.inf | 2 +- .../Drivers/SdMmc/XenonDxe/XenonDxe.inf | 2 +- .../SmbiosPlatformDxe/SmbiosPlatformDxe.inf | 14 +- .../Marvell/Drivers/Spi/MvFvbDxe/MvFvbDxe.inf | 8 +- .../Spi/MvSpiFlashDxe/MvSpiFlashDxe.inf | 2 +- .../Spi/MvSpiOrionDxe/MvSpiOrionDxe.inf | 8 +- .../Marvell/Library/ComPhyLib/ComPhyLib.inf | 28 +-- Silicon/Marvell/Library/IcuLib/IcuLib.inf | 4 +- Silicon/Marvell/Library/MppLib/MppLib.inf | 94 ++++---- .../Marvell/Library/MvGpioLib/MvGpioLib.inf | 2 +- .../Marvell/Library/UtmiPhyLib/UtmiPhyLib.inf | 2 +- Silicon/Marvell/Marvell.dec | 208 ------------------ .../Include/IndustryStandard/MvSmc.h | 0 .../Include/Library/ArmadaBoardDescLib.h | 0 .../Include/Library/ArmadaIcuLib.h | 0 .../Include/Library/ArmadaSoCDescLib.h | 0 .../Include/Library/MppLib.h | 0 .../Include/Library/MvComPhyLib.h | 0 .../Include/Library/MvGpioLib.h | 0 .../Include/Library/NonDiscoverableInitLib.h | 0 .../Include/Library/SampleAtResetLib.h | 0 .../Include/Library/UtmiPhyLib.h | 0 .../Include/Protocol/BoardDesc.h | 0 .../Include/Protocol/Eeprom.h | 0 .../Include/Protocol/Mdio.h | 0 .../Include/Protocol/MvI2c.h | 0 .../Include/Protocol/MvPhy.h | 0 .../Include/Protocol/Spi.h | 0 .../Include/Protocol/SpiFlash.h | 0 .../MarvellSiliconPkg/MarvellSiliconPkg.dec | 207 +++++++++++++++++ .../OcteonTx/AcpiTables/T91/Cn9130DbA.inf | 2 +- .../OcteonTx/AcpiTables/T91/Cn9131DbA.inf | 2 +- .../AcpiTables/T91/Cn913xCEx7Eval.inf | 2 +- 82 files changed, 848 insertions(+), 852 deletions(-) delete mode 100644 Silicon/Marvell/Marvell.dec rename Silicon/Marvell/{ => MarvellSiliconPkg}/Include/IndustryStandard/MvSmc.h (100%) rename Silicon/Marvell/{ => MarvellSiliconPkg}/Include/Library/ArmadaBoardDescLib.h (100%) rename Silicon/Marvell/{ => MarvellSiliconPkg}/Include/Library/ArmadaIcuLib.h (100%) rename Silicon/Marvell/{ => MarvellSiliconPkg}/Include/Library/ArmadaSoCDescLib.h (100%) rename Silicon/Marvell/{ => MarvellSiliconPkg}/Include/Library/MppLib.h (100%) rename Silicon/Marvell/{ => MarvellSiliconPkg}/Include/Library/MvComPhyLib.h (100%) rename Silicon/Marvell/{ => MarvellSiliconPkg}/Include/Library/MvGpioLib.h (100%) rename Silicon/Marvell/{ => MarvellSiliconPkg}/Include/Library/NonDiscoverableInitLib.h (100%) rename Silicon/Marvell/{ => MarvellSiliconPkg}/Include/Library/SampleAtResetLib.h (100%) rename Silicon/Marvell/{ => MarvellSiliconPkg}/Include/Library/UtmiPhyLib.h (100%) rename Silicon/Marvell/{ => MarvellSiliconPkg}/Include/Protocol/BoardDesc.h (100%) rename Silicon/Marvell/{ => MarvellSiliconPkg}/Include/Protocol/Eeprom.h (100%) rename Silicon/Marvell/{ => MarvellSiliconPkg}/Include/Protocol/Mdio.h (100%) rename Silicon/Marvell/{ => MarvellSiliconPkg}/Include/Protocol/MvI2c.h (100%) rename Silicon/Marvell/{ => MarvellSiliconPkg}/Include/Protocol/MvPhy.h (100%) rename Silicon/Marvell/{ => MarvellSiliconPkg}/Include/Protocol/Spi.h (100%) rename Silicon/Marvell/{ => MarvellSiliconPkg}/Include/Protocol/SpiFlash.h (100%) create mode 100644 Silicon/Marvell/MarvellSiliconPkg/MarvellSiliconPkg.dec base-commit: c1d04ecedf3246ec7c2e0cc12658c9c6a26f91ac -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#110499): https://edk2.groups.io/g/devel/message/110499 Mute This Topic: https://groups.io/mt/102335606/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-