From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=104.47.34.41; helo=nam01-by2-obe.outbound.protection.outlook.com; envelope-from=vabhav.sharma@nxp.com; receiver=edk2-devel@lists.01.org Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0041.outbound.protection.outlook.com [104.47.34.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 1D012222CB309 for ; Thu, 21 Dec 2017 22:45:34 -0800 (PST) Received: from MWHPR03CA0031.namprd03.prod.outlook.com (10.174.173.148) by BN3PR03MB2354.namprd03.prod.outlook.com (10.166.74.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.345.14; Fri, 22 Dec 2017 06:50:23 +0000 Received: from BL2FFO11FD025.protection.gbl (2a01:111:f400:7c09::197) by MWHPR03CA0031.outlook.office365.com (2603:10b6:301:3b::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.345.14 via Frontend Transport; Fri, 22 Dec 2017 06:50:22 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD025.mail.protection.outlook.com (10.173.161.104) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.302.6 via Frontend Transport; Fri, 22 Dec 2017 06:50:07 +0000 Received: from uefi-OptiPlex-790.ap.freescale.net ([10.232.132.56]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id vBM6oHF1022495; Thu, 21 Dec 2017 23:50:17 -0700 From: Vabhav To: , , , Date: Fri, 22 Dec 2017 00:18:26 +0530 Message-ID: <1513882109-14295-1-git-send-email-vabhav.sharma@nxp.com> X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131583990074768364; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(7966004)(336005)(396003)(39860400002)(376002)(39380400002)(346002)(2980300002)(1110001)(1109001)(339900001)(174864002)(199004)(189003)(498600001)(85426001)(5660300001)(356003)(316002)(4326008)(36756003)(77096006)(47776003)(106466001)(16586007)(54906003)(305945005)(8676002)(53936002)(105606002)(8936002)(81156014)(86362001)(8656006)(81166006)(110136005)(2201001)(51416003)(2906002)(97736004)(6666003)(104016004)(68736007)(50226002)(50466002)(48376002)(217873001)(19627235001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR03MB2354; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD025; 1:rxwXYJp1UC/CgXm7HNwLQ4xBgrQl8K4ALPOQuZr2n2iQbvodYr6SKvr2Gza0rx5re6dcJwvbtsRMdIzvFIWiXVbpH9nc4p1qfCzI+Qt1eDmIjAAozjFlNaz+QQWQn0qg MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 49038288-4a07-48f6-fbec-08d549083cff X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4628075)(201703131517081)(5600026)(4604075)(2017052603307); SRVR:BN3PR03MB2354; X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2354; 3:rJ2H+aFjG8MTW+8SvQQQ2hX1gZ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O+LV1iLcIAmnKva0INrsk/WD5b90VC6Q67oAVSzZLPSr+WBSQY3JEeeqnaK3PKROvfQyGjekPdLVtmLrnNEDc6zccgromfRPcIQI4EahWD9KvsOUSX2zq4/9RgZnh9U/tocPkHyt2kIhg+EjAOVgvoNAG2CYMvUkPn88Mao595G22CilONGwTExx1/L/PEsDYMLNw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(3231023)(6055026)(6096035)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123565025)(20161123556025)(20161123559100)(20161123563025)(20161123561025)(201708071742011); SRVR:BN3PR03MB2354; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:BN3PR03MB2354; X-Forefront-PRVS: 05299D545B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR03MB2354; 23:6o7R2yCdl11iOY44DwOS5tJKCdfg+GwnDzkROPCV9?= =?us-ascii?Q?7x1LpSX9bINL8KvQFKFPeoTQKqTgXICuW0ZHVpo75kG7j6Y3iVs6Gmy9x3qT?= =?us-ascii?Q?f2l+7LM08KtpUoIFt85V7EByldBmisbmGQoo37BU7yoys04srWwabQM1qNM7?= =?us-ascii?Q?MH91QMNtWcxXqk/mrtHI91Q4jV3N2WCgc/XUBXXXK73RcAHkN/Vd1ZMoWLOH?= =?us-ascii?Q?L2bSrOwq0Pr+RrHm2pMYYvu3EjEwOOX6/RxxU9SAPcCEFcWT6iGR+xqn0QlG?= =?us-ascii?Q?d0utMWTJvpfAg0fCJcUF3B0Gt3QpSssLBtdIR478Z9sDvhGZZiOStTRqa682?= =?us-ascii?Q?G0sP4Bn9Me8hlN1dLNHeAASlvw/YMmykpgaC5eFmy97uno+6LPkhT0Gnbj42?= =?us-ascii?Q?6N1SFcDSLm7+EV7Yi2YcWZCdq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Oeeh9e/7VElRX7Z2EPKMP179RRiUt4irHjPEyTv7yM0qlSRLGdfGb4V/HoSoWdenJnd9EDDPPgWv33NfknlISG+qnuTsEplLjXN77/Z+o9DqlBdKqJEXUI+zFgO9BYEFZf9D2vjk28x5IIdmgA9ffoONg9BBj83aYQUB/AEAhekvWzbDfpr8tn1OK5niQRuRTDXupNgOkj6hKYLfD3U58=; 5:Ricod+BnjBWE67Z1BjbOl0F7tXPJ4XwNbLrwiJxbBf4PlaHgjX2lqlDgApV5YJABHBuEqk+0FW8xDwnyOSCq4usVCF33ilDHyQ1tDlH3KwU//V66HZKPWf/Rdjvd+EQ4djsG/TRIOw9002WCvxryi9TAWandzk2dRjpxb+fq5Gs=; 24:Qaouws3B9EsEvhx9lO1BE0dG2CsDsHaiOjzycWmftMp9DnrlQTrUfPblK+9oUGXRsZk2Bkva/x2CidAhjECulrvM29f9XSXVg9y75JeFqG4=; 7:bDzqI2kAwJ0CkdLgegeoTeHFGX6UQyp6JBX0ZrF2qfI7dAHTGhX61McoV7xyQed+C6SL2bI/k45KOObHVKXBWcZxZm3U1OfpYjvGzdWObwbnUyf6cDnkXB+vCmDQ7XeIIb7BgMv7+T6JMQAdcdg0O8GkbSwaqDaZc4epRkqnX3eoKw9U+07qLzILzHmS0QrSLEgjYdi4cGBKTUUZ20fId6Yqw6pL25KinLsem+fMyWMpO4wGFIPsx7su/5A/90uU SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Dec 2017 06:50:07.3208 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 49038288-4a07-48f6-fbec-08d549083cff X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR03MB2354 Subject: [PATCH edk2-platforms 0/3] Platform/NXP-Added NXP PCI Host Bridge Driver X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Dec 2017 06:45:35 -0000 Content-Type: text/plain Following patches will add support of NXP PCI Host Bridge Driver in edk2-platforms directory 'edk2-platforms/Platform/NXP' Updated Directory structure for added folders in 'edk2-platforms/Platform/NXP' will be: Platform/NXP/Drivers/PciHostBridgeDxe/ |-- PciHostBridgeDxe.c |-- PciHostBridgeDxe.inf `-- PciRootBridgeIo.c Platform/NXP/Library/PciHostBridgeLib/ |-- PciCntrl.c |-- PciHostBridgeLib.inf `-- PciRbLib.c In Platform/NXP/Library PciHostBridgeLib librady is added In Platform/NXP/Drivers: PciHostBridgeDxe driver is added Please review and look forward for your support in upstreaming the patches in edk2-platforms. Vabhav (3): Platform/NXP : Add PCI Host Bridge Libary Platform/NXP : Add PCI Host Bridge Driver Compilation:Modify dsc,fdf files .../Drivers/PciHostBridgeDxe/PciHostBridgeDxe.c | 967 ++++++++++++++++ .../Drivers/PciHostBridgeDxe/PciHostBridgeDxe.inf | 61 + .../NXP/Drivers/PciHostBridgeDxe/PciRootBridgeIo.c | 1193 ++++++++++++++++++++ Platform/NXP/Include/PciCntrlLib.h | 323 ++++++ Platform/NXP/Include/PciHostBridge.h | 466 ++++++++ Platform/NXP/Include/PciLib.h | 414 +++++++ Platform/NXP/Include/PciRootBridge.h | 674 +++++++++++ Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc | 31 + Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.fdf | 6 + Platform/NXP/Library/PciHostBridgeLib/PciCntrl.c | 628 +++++++++++ .../Library/PciHostBridgeLib/PciHostBridgeLib.inf | 49 + Platform/NXP/Library/PciHostBridgeLib/PciRbLib.c | 331 ++++++ Silicon/NXP/Chassis/Chassis.c | 11 + Silicon/NXP/Chassis/Chassis2/SerDes.h | 11 + Silicon/NXP/LS1043A/LS1043A.dsc | 1 + 15 files changed, 5166 insertions(+) create mode 100644 Platform/NXP/Drivers/PciHostBridgeDxe/PciHostBridgeDxe.c create mode 100644 Platform/NXP/Drivers/PciHostBridgeDxe/PciHostBridgeDxe.inf create mode 100644 Platform/NXP/Drivers/PciHostBridgeDxe/PciRootBridgeIo.c create mode 100644 Platform/NXP/Include/PciCntrlLib.h create mode 100644 Platform/NXP/Include/PciHostBridge.h create mode 100644 Platform/NXP/Include/PciLib.h create mode 100644 Platform/NXP/Include/PciRootBridge.h create mode 100644 Platform/NXP/Library/PciHostBridgeLib/PciCntrl.c create mode 100644 Platform/NXP/Library/PciHostBridgeLib/PciHostBridgeLib.inf create mode 100644 Platform/NXP/Library/PciHostBridgeLib/PciRbLib.c -- 1.9.1