From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (EUR05-DB8-obe.outbound.protection.outlook.com [40.107.20.59]) by mx.groups.io with SMTP id smtpd.web11.146.1591741084654313934 for ; Tue, 09 Jun 2020 15:18:05 -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=Y0WAHd3I; spf=pass (domain: oss.nxp.com, ip: 40.107.20.59, mailfrom: wasim.khan@oss.nxp.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kgxw+1BJEc0Ons7lWjDFVtDWqE3MD53+oglU6/fRRz9PjlLU6nWV/K3YEucUz4qC+5/8FK3oc3C8Qt4Ju2nWtBBVOxe2FUIu/vIaaKMRdJAtIpmV90niv+U6PNt4rjtQf2L35U1p7lA7xBXFt87hZtbcwg03SsyxALiWFhUnVkZJrrJ1lUmYZKpElcT/VKJHLQFN9qUS+14QtDzShvc3k1P2MvsTZHGfdp0FYBvBcSo8CB/Y/Sf6wIu+SpTWUN6lth7SYF3cTeEQq78ZTxJwfElll+oRfSfry5Nv7kqvdHIOO8P2ohsrP9jnHMhU8CJJLCyvv5/Rq6we6welMXzTVQ== 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=vB97rvdMX/Bp1MY7PqwwMXNeXAiMgeX+yuri96tbTEo=; b=eGcNxqWOsaqcH8s7shf5gk4JqiKvDJS3chBTALYLJPdRLA3wreAN+VCjocmY6Vet0PSd+2IriT7WXaDDNBQnZVzotEx4Qmsdxb4060zAVH/cccyIk8N1JGMklX4LhLCnmsr40DvZDD6Ly34sr2WbFNy+4TXjxeLV2GsWNVzG7Dp0fNgS1zggDlmrW21HmrxgDvksaMVLOlT8zgOh/YKxFEUrE/RRYZYCqc1hsx5ffpKKpaVujC5evY7fsrJOwtdsiynxP+2ydJrxEzIqzYMSpBV2BGlDVaDgkBT8ohX0FQ/iiYketvah40ik2ukIjzhsr23XYU2VfbJoO8nJWmJLTw== 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=vB97rvdMX/Bp1MY7PqwwMXNeXAiMgeX+yuri96tbTEo=; b=Y0WAHd3Iid1V6gdQyFMokaL7Up49530uVJypcfNe2QoRx7hncW6jmfSJ9mwyXxA+e4cW4bQGa9ENQfb88E0I3cBRAhvi1t6xrFDd482uCpu/3dzfHNDuca6JzUWAh4ybShquMmpr5m3qSwJvRoiWY+6h8Qwcy+DNVELAIpgcb7A= 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 VE1PR04MB6493.eurprd04.prod.outlook.com (2603:10a6:803:11f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.20; Tue, 9 Jun 2020 22:18:02 +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.3088.018; Tue, 9 Jun 2020 22:18:02 +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 7/7] Platform/NXP: LX2160aRdbPkg: Enable PCIE support Date: Wed, 10 Jun 2020 03:47:30 +0530 Message-ID: <1591741050-11645-8-git-send-email-wasim.khan@oss.nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1591741050-11645-1-git-send-email-wasim.khan@oss.nxp.com> References: <1591741050-11645-1-git-send-email-wasim.khan@oss.nxp.com> X-ClientProxiedBy: PN1PR0101CA0004.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:e::14) 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 localhost.localdomain (157.37.179.16) by PN1PR0101CA0004.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:e::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3088.18 via Frontend Transport; Tue, 9 Jun 2020 22:18:00 +0000 X-Mailer: git-send-email 2.7.4 X-Originating-IP: [157.37.179.16] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 3e60daf0-2dd2-4198-292c-08d80cc2f96c X-MS-TrafficTypeDiagnostic: VE1PR04MB6493: 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: 042957ACD7 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WFfJrXHTBnnpauibS2JadCjx8FYnMtwiXEbbwSaSnjmq9PbkxATj+E9f0RETWvY6cQMV0pjba65ZhQPn/XAzWr7HU8Y04zQIEm5sbqql3GAeWftvq/6errTUhiN4bg2eLWAzt/Swj2g7xkjGWkJ1AgF4P80N8bui33zTh8I624+tELfx3mo/hmJBoMkdrtN7w57uvsDSxQyTfXjWgvSlr26YTUUP26WoumVdk/bXun1ZTivD9kx0+g0ZAoohmK03icVXYcjkJS339M4LhGibYq24gHfKTVV7x4TapCbq+b0upJWRP6GhNb9V0FXOO6uGBkTCqsPl/yqyeyR1NdjTPv/P+8hPpvIYL9FOCWpr/EVIumJCVHyMGe4cezYuJYOd 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)(346002)(39860400002)(366004)(136003)(396003)(376002)(186003)(26005)(16526019)(478600001)(8676002)(4326008)(8936002)(86362001)(83380400001)(69590400007)(6666004)(66946007)(5660300002)(6486002)(316002)(2906002)(66476007)(2616005)(19627235002)(6512007)(52116002)(6506007)(66556008)(956004)(44832011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: ju9Cs+q35v9TT5iEDnctk30jVICTMor6DWgb6wF/nfc5kwxai9IAUz5t4gOnSjjIHaOOn4dy7iqdKcu9A7KqY8ESTD26mVskxABqSpEmyR7qONJKVBBHTVOtW6obOLQrsPMZ8tqx4aiUN789i+7NbwSm8kbi1nvF0C9syyFaLe97VbTLNP6zKEZOhF4Y6Clgt6clERvxbITCdidUJj/i0fgqqvPOlCLaichTv+OiUYCQvMDI16Buw1WJ4uQCBBuEE/K07SwBvn/4xwHlxbZwrerUMqgbv6r/AXACTEKREttroRtPLqlhXU2jywmegJ9quNdRJUSprMhuOkl7b7oYqor/Sxf/7dlDWqNYAmKyRgI8wDrNLJiJ/n1eJoHqPUJVT7VueRdGFW7pJBFg7uNX5mFuuG6/M8We6yT6MeTOyc5TFwRJl4J8bhJim6xhekM13xaC8h/8g2Qlk41JE721dPRoXhHcq4RvSWvUG5sysu0= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3e60daf0-2dd2-4198-292c-08d80cc2f96c X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2020 22:18:02.3757 (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: CwDOqDYQI3bNjCBFHmTZbqAgvmCf856mhkwPP5LZYVBq8pJ4A3RCKM064mgiELJLJz0b9sbf4J9uT+uDA32vnA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6493 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 --- 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