From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.56]) by mx.groups.io with SMTP id smtpd.web12.13250.1593413152523352320 for ; Sun, 28 Jun 2020 23:45:52 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@nxp1.onmicrosoft.com header.s=selector2-nxp1-onmicrosoft-com header.b=H1RzbCLY; spf=pass (domain: oss.nxp.com, ip: 40.107.22.56, mailfrom: wasim.khan@oss.nxp.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YvNlbWAIws22pJzSoHyh8MGWfOriRwmosC5hMBQlte3b/74u5s6alsFmUe4WJ3h3WcNp4qdqZ2Gd3oCnuJiN+Dg0DzAqkGaXIuOxNjDS7HvLzi6/JiV9Xik8Hc25sEpOReujUU3a/nBIkZEXODZDlkeJf7CbI3jebkLyYPqlNbYc9MfkKbzOnIrbTXCVHO9OzFljtVPyc8IwzulgH/bu24erQD2VCZU3/+tMXINIso8IdyQ930/R9C6nXjL5QT3E3MphXroZQGMK9Mg8BIRYHPlbwX2Yom3H+pxKcfIe6u60Xq+2FUmZsNJvHIWW0cAOf1ryy5VN84ogxW+3N07RXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iLo4EXJtNugaqQZOMIlNgLyXU0vGP/hXh7G+iRsbCBg=; b=RDQ2VM8uhGoKD++3s6rTXzgFnflqvvgYP0U0StH9O/QxHCEqlX3HNN2a1MtDO5bEgpLEnTIay46AY8KTx4uYRFEOidxnrDrf/iY5kQWejrWfjsxYxNiHkFKJ7mgyOtjULzEpRcVIj15NcsbQ3YIf3ZzzbE8irXfDlVYPxQCv42dZVMR06jJ72DyBscPwfCuNtUG38bDDvIa5yDwtEqiMnz0gZw/Z/3KLns7Az1hXcQe702ULj9DQkvEwIyvIZV3CoACtJsYEG9d6N+5+YHUcivJd6/HNfEpHuZcCxWlAzDQfx9UB+5My7FvvjOya4ms16Dv9iUxlA/hoO207E1Qp+A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iLo4EXJtNugaqQZOMIlNgLyXU0vGP/hXh7G+iRsbCBg=; b=H1RzbCLYchYdomEUAUxaqOvtesh8cZp0DBXI9ZU5Bct8w1IPHlJ5OpyL/uXR0Sm71XhYn8/KRCYr+yjsccy4I4f6DoUscEVlHW6AXz8/G1I1lyxMWKxKCUvfGUBJHWhNStUd4hQuUNd5UejE07F2QJ1AzPS0a5LyMTzYQBy1Sxw= Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=oss.nxp.com; Received: from VE1PR04MB6702.eurprd04.prod.outlook.com (2603:10a6:803:123::13) by VI1PR04MB4816.eurprd04.prod.outlook.com (2603:10a6:803:5b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.20; Mon, 29 Jun 2020 06:45:50 +0000 Received: from VE1PR04MB6702.eurprd04.prod.outlook.com ([fe80::81c4:97a6:7592:f225]) by VE1PR04MB6702.eurprd04.prod.outlook.com ([fe80::81c4:97a6:7592:f225%7]) with mapi id 15.20.3131.026; Mon, 29 Jun 2020 06:45:50 +0000 From: Wasim Khan To: devel@edk2.groups.io, meenakshi.aggarwal@nxp.com, V.Sethi@nxp.com, ard.biesheuvel@arm.com, leif@nuviainc.com CC: Wasim Khan Subject: [PATCH edk2-platforms v2 7/7] Platform/NXP: LX2160aRdbPkg: Enable PCIE support Date: Mon, 29 Jun 2020 12:15:06 +0530 Message-ID: <1593413106-1672-8-git-send-email-wasim.khan@oss.nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1593413106-1672-1-git-send-email-wasim.khan@oss.nxp.com> References: <1593413106-1672-1-git-send-email-wasim.khan@oss.nxp.com> X-ClientProxiedBy: BMXPR01CA0083.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:54::23) To VE1PR04MB6702.eurprd04.prod.outlook.com (2603:10a6:803:123::13) Return-Path: wasim.khan@oss.nxp.com MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from wasimk-VirtualBox.nxp.com (157.37.149.241) by BMXPR01CA0083.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:54::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3131.20 via Frontend Transport; Mon, 29 Jun 2020 06:45:47 +0000 X-Mailer: git-send-email 2.7.4 X-Originating-IP: [157.37.149.241] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 7c6ab897-9ca3-4ba4-7003-08d81bf80f97 X-MS-TrafficTypeDiagnostic: VI1PR04MB4816: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:86; X-Forefront-PRVS: 044968D9E1 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6EhdeoHmxb8yoZl5G15x4c87kjqjwDyP5v/fBuCCwMovRhqTQtKfJMQOIEpmcD6fhpZISoaO7GJmK41pmt2Ka/sv71htvBTi/9IsN4mtAJMM6GXNAxsTTWcKim58md0cFwX2CAN7KDWjE8/H1RL10aWPH3uwyDTrxa0xwDBnVR8THld0SY/tlb3jg9fw7ZEVZ0IKWhM2UUx0+XQIR7Letvm9qfn0hZ6cLYSQvUIvdEKsEU2WqV++pYDRXZ7/KuaeJ8cAiqSQ7MGyVgaXb71l62Fz8qpkMKETFBVk4WSeKc9p/SjPI/3SbCuKrpJyNi8D X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR04MB6702.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(136003)(39860400002)(376002)(396003)(346002)(366004)(4326008)(52116002)(86362001)(66946007)(26005)(2906002)(6506007)(83380400001)(44832011)(66556008)(66476007)(2616005)(956004)(186003)(16526019)(6512007)(6486002)(8676002)(6666004)(8936002)(478600001)(19627235002)(316002)(5660300002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: 1VJ8bO16kxXfLseSZlF3hWrQmlcmi+iamg4Brg24bTZoAbLKdK/9c2iFhA/M3v0ic7WBDSTqAcmq7Qm15tQA6/T18OF701T3/CXWLSj1t4vkiMobI2qRGShJWvKFO95ghwoFYs8/F2WNk9GZ9FuMMZIKE1qVG5bHM2/tTRO9lhOvW/jICxWyneFrvPv2E/gBr49OXwNMFflGfSUIvepixxsPL1/31ROO8Vh3PjA5zotZUAPfzBCLuOCNxBYBzPnInfNY/XD0DWBB9VcjGqlGwVeJeDegmMEqAJbnum6MH2Sy+G0ui6QoYfVicvccql2PAfnzTd/0EeTh19XNdllknYQK5A7Id9iU6AXVJmWUZUFgYU8mev0/6u4dyPCLO0oEqch2cbLGpNn1zuaGot7LIAh0jv7BV62ZIFQLnAVhRQZArv9XO3LpCm2FwoC0Cco1ZCUhHifavD1SNQ2mxxQ03BibQVs6kwKNpvQX76nlvYkM9isJMTez8vkobOKP/HfI X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7c6ab897-9ca3-4ba4-7003-08d81bf80f97 X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6702.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2020 06:45:50.3655 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: rZxD/+ySR/J9VXiVryqMwlwgpTPuBJZWBbE9tcll9hlyNX1Wmvvyd1znJZW5C1hx9HTnJypcdym4eXckpkImCQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4816 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Wasim Khan Enable generic PCIe drivers and Wire up PciHostBridgeLib, PciSegmentLib and PciCpuIo2Dxe. Signed-off-by: Wasim Khan Reviewed-by: Leif Lindholm --- Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.dsc | 9 +++++++++ Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.fdf | 7 +++++++ 2 files changed, 16 insertions(+) diff --git a/Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.dsc b/Platform/NXP/LX= 2160aRdbPkg/LX2160aRdbPkg.dsc index c73f9fd4d393..579a72d363a4 100644 --- a/Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.dsc +++ b/Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.dsc @@ -35,6 +35,8 @@ [Defines] [LibraryClasses.common] ArmPlatformLib|Platform/NXP/LX2160aRdbPkg/Library/ArmPlatformLib/ArmPlat= formLib.inf RealTimeClockLib|EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualReal= TimeClockLib.inf + PciSegmentLib|Silicon/NXP/Library/PciSegmentLib/PciSegmentLib.inf + PciHostBridgeLib|Silicon/NXP/Library/PciHostBridgeLib/PciHostBridgeLib.i= nf =20 ##########################################################################= ###### # @@ -53,6 +55,13 @@ [Components.common] Platform/NXP/LX2160aRdbPkg/Drivers/PlatformDxe/PlatformDxe.inf =20 # + # PCI + # + Silicon/NXP/Drivers/PciCpuIo2Dxe/PciCpuIo2Dxe.inf + MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf + MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf + + # # Networking stack # !include NetworkPkg/Network.dsc.inc diff --git a/Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.fdf b/Platform/NXP/LX= 2160aRdbPkg/LX2160aRdbPkg.fdf index 4c9cab5d0938..b803da124844 100644 --- a/Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.fdf +++ b/Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.fdf @@ -121,6 +121,13 @@ [FV.FvMain] !include NetworkPkg/Network.fdf.inc =20 # + # PCI + # + INF Silicon/NXP/Drivers/PciCpuIo2Dxe/PciCpuIo2Dxe.inf + INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf + INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf + + # # FAT filesystem + GPT/MBR partitioning # INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf --=20 2.7.4