From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (EUR01-HE1-obe.outbound.protection.outlook.com [40.107.13.45]) by mx.groups.io with SMTP id smtpd.web10.29219.1590731589386911851 for ; Thu, 28 May 2020 22:53:10 -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=SWTnuiEF; spf=pass (domain: oss.nxp.com, ip: 40.107.13.45, mailfrom: pankaj.bansal@oss.nxp.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H4sTCCoqQMXCMKbCNjxodAi9TvCZM2KGpI6oXmGIQihpCkeu6di8kd1sqj/KoCMegQsFxh1mv5yChj4x22ss7xjak/Qci2QGOkJWwXWFcY4KBSwHfQsOulJFZclLh4OU7UaGzpXsrcohY2vzoNzTiFoeAHHqUyAXTY4foTRlRa6cmpn3I6KCFRyKvSq85z0Yzu28Q0EnCP2P6Ai7ZDPv8x4bmGcVTUzcWqS1aNZ08o2IEn1BQ9dMJfTX2w4ao8Mp/AVPLd1IgqWOvl9T3FVf+dES6J+TKg6s9yOnxXmRI30Hl5Kp2bU96r2jeDUxsm2NrjMeDnF946Xw6QMKvviNbA== 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=JGfFVy9D1HLWNd+mQ+xTvQ8hZXI0H1mPFaBHaWckaCs=; b=Exc2TLPJ5FDF05ILTK8dnvmxoc8s0JDBSmNlqz3mSPtvEmEF4wPZwKfmT74PrPS5yrOqy5UDPmTwCwG71kthlm2CENKwE/ZS5JpMqm4X9BNycksS4rozjeopX4t2OC4Gjdkscp2QKoH8h5sHdNhdqiSwCrZqMNsFp2GKcE2+L4JY/8MFvtzTVqLWOP/UQGCvuI/GNQw/VpKiiq2rR/1Bl7j/WBmHICI/6bRzRrZ4E2X8R+CNqhOdLIa/glm0vzOiQjTORQucjxPMVHHG3Tp92iKwdezhY9lqP0gpG2+b9M7mS0Fk49HJbMkzWSHpNUZ35fYyV5qzFKrew/OFKlkBnw== 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=JGfFVy9D1HLWNd+mQ+xTvQ8hZXI0H1mPFaBHaWckaCs=; b=SWTnuiEFEVZsIBW3c75iE/6QjDH7xGIaG9miWBGfWAMgZJlSCFI2QUTRgeSZ0DktyG5dZNIfBgG+fZnycxkB72c8duFD39f9lKlS5SmDL1O6BaUBgRuPCtAyl8MlKP+VAM8P3ffbZAGK5iJw2u6TMpM0djZktgAlF/EKJnEPrWI= Authentication-Results: nuviainc.com; dkim=none (message not signed) header.d=none;nuviainc.com; dmarc=none action=none header.from=oss.nxp.com; Received: from VI1PR04MB5933.eurprd04.prod.outlook.com (2603:10a6:803:ec::16) by VI1PR04MB5598.eurprd04.prod.outlook.com (2603:10a6:803:e9::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.19; Fri, 29 May 2020 05:53:06 +0000 Received: from VI1PR04MB5933.eurprd04.prod.outlook.com ([fe80::45c4:8846:5327:9513]) by VI1PR04MB5933.eurprd04.prod.outlook.com ([fe80::45c4:8846:5327:9513%7]) with mapi id 15.20.3045.018; Fri, 29 May 2020 05:53:06 +0000 From: "Pankaj Bansal" To: Leif Lindholm , Meenakshi Aggarwal , Michael D Kinney , devel@edk2.groups.io, Varun Sethi , Samer El-Haj-Mahmoud , Jon Nettleton , Ard Biesheuvel Subject: [PATCH edk2-platforms v3 00/10] Add LX2160ARDB Platform Date: Fri, 29 May 2020 11:21:39 +0530 Message-ID: <20200529055149.30953-1-pankaj.bansal@oss.nxp.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: SG2PR01CA0112.apcprd01.prod.exchangelabs.com (2603:1096:4:40::16) To VI1PR04MB5933.eurprd04.prod.outlook.com (2603:10a6:803:ec::16) Return-Path: pankaj.bansal@oss.nxp.com MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from uefi-workstation.ap.freescale.net (92.120.0.69) by SG2PR01CA0112.apcprd01.prod.exchangelabs.com (2603:1096:4:40::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.19 via Frontend Transport; Fri, 29 May 2020 05:53:03 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [92.120.0.69] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 85dc0ac6-a994-4b1d-d34e-08d803948ee6 X-MS-TrafficTypeDiagnostic: VI1PR04MB5598: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:873; X-Forefront-PRVS: 04180B6720 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DtG4tNJ1M8AdRqt8LAWUM+Bl4P9QIT4wKYPt2E/vVu2MHDlXXJXfN/iJCn01rNyWVJuIfq70yhCZ8rdGYARjX7oqqclnSI01c2z0fFf+svH3IhQZCwHUqqaSygzmJOiO1SKU2cvc4XDwDDyYwJsO6JXWjmajzVh5rDEUbyVLOZmOH++yWsmQGW8YTgNGBQxrbyfnZrP+k0VrpWqV3VvmdrXsI7e63VpDtzgKW/YQvKfsHMvV078RqdSlEGW3eCGtFvVKcKB/sUQcgg2Bx9KZ/Q49au4+bBGOM0frKSXnwVOdqQvSnWooQ9kuYqE4P/no03KQ9cipf0Px/jh9XXU4pkEEdrPanTgR37U1IDwi5sWj8HwhICcAQwHqEc058pCt9QbswCqQbyQUXdjOOrCZoA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5933.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(366004)(136003)(39860400002)(396003)(376002)(346002)(110136005)(316002)(52116002)(66946007)(66476007)(66556008)(2906002)(6666004)(86362001)(1076003)(83380400001)(8936002)(5660300002)(8676002)(19627235002)(956004)(44832011)(2616005)(6486002)(6512007)(6506007)(16526019)(186003)(478600001)(26005)(966005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: J/5gUf4NsJDk6NwZgU23P+J6I4tyDJ8Fmf2RsCJp0yTsRDADO0ARUEaRZcAgarvTPlrzXxTv7OYX8TpA5q5W7NNl3wIddnyXrKEzmoQRiK0tHHTTMhKZ/aqaY4d1qXZkyLtJ0d9RpWiX96Su0mm3IxYEfW0YGrAZ9KSJ68PNNcVGwNdV//kstdZXXgS12kCt2bwv19mKBZu2iUfJrFudVsQUArRimlNiM2NGMH7raNbourWF2vwo/ILVfKK+jWa9Ob8fTpqNotO+gaqHehsRsxW1SUYwcvUvqxCDwLSI7aC133z1HiUqMNCF2zBCACunHeLjtGenWt09nisvuXIlj8UgpqBseO0Xcl2kHPq4ZpTy7/F+b6SBx5teXj4dZJndwGiOh4zieqAPla2PWqkoeDq8GR3/d/O7uC4YryEaS4jvhUOy/0n0xJa0aneycUZ3gIiAunPHr1jxCBu8CUULJFcWBFhitn/jHJ7iScfWczU= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 85dc0ac6-a994-4b1d-d34e-08d803948ee6 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 May 2020 05:53:06.4078 (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: gEqCawQ/W6Sxd97U5ptdhQrgkUe/Tdh/uM+Cy9XwGiliRXEHgph9/1uNWnlRXF453NxQdeZfKwEf+qdNR4Tr+Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5598 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable From: Pankaj Bansal LX2160A Reference Design Board (RDB) is a high-performance development platform that supports the QorIQ LX2160A Layerscape Architecture SOCs. This Platform is based on Layerscape Chassis3V2. The code structure is same as Chassis2 and LS1043A SOC and LS1043ARDB platform. v2 of this series can be referred here: https://edk2.groups.io/g/devel/message/60320 Changes w.r.t v2: 03/10: Silicon/NXP/PciHostBridgeLib: Fix compilation with MDEPKG_NDEBUG fla= g - new commit 09/10: Platform/NXP: Add LX2160ARDB Platform - Alphabetically sorted LibraryClasses in Platform/NXP/LX2160aRdbPkg/Library/ArmPlatformLib/ArmPlatformLib.inf Pankaj Bansal (10): Silicon/NXP: Use Metronome implementation from MdeModulePkg Platform/NXP: Use Monotonic counter from MdeModulePkg Silicon/NXP/PciHostBridgeLib: Fix compilation with MDEPKG_NDEBUG flag Silicon/NXP: Use edk2 recommended compilation flags Platform/NXP/LX2160ARDB: Add ArmPlatformLib Silicon/NXP: Implement PL011UartClockLib for NXP platforms Silicon/NXP: Add Chassis3V2 Package Silicon/NXP: Add LX2160A Soc package Platform/NXP: Add LX2160ARDB Platform Platform/NXP/LX2160aRdbPkg: Add VarStore Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.dec | 23 +++ Silicon/NXP/Chassis3V2/Chassis3V2.dec | 22 +++ Silicon/NXP/LX2160A/LX2160A.dec | 13 ++ Silicon/NXP/Chassis3V2/Chassis3V2.dsc.inc | 10 ++ Silicon/NXP/LX2160A/LX2160A.dsc.inc | 50 ++++++ Silicon/NXP/NxpQoriqLs.dsc.inc | 13 +- Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.dsc | 46 ++++++ Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.fdf | 4 +- .../LX2160aRdbPkg.fdf} | 51 ++---- .../Library/ArmPlatformLib/ArmPlatformLib.inf | 42 +++++ .../Library/ChassisLib/ChassisLib.inf | 33 ++++ Silicon/NXP/LX2160A/Library/SocLib/SocLib.inf | 27 ++++ .../PL011UartClockLib/PL011UartClockLib.inf | 24 +++ Silicon/NXP/Chassis3V2/Include/Chassis.h | 26 ++++ Silicon/NXP/LX2160A/Include/Soc.h | 38 +++++ .../Library/ArmPlatformLib/ArmPlatformLib.c | 147 ++++++++++++++++++ .../ArmPlatformLib/ArmPlatformLibMem.c | 80 ++++++++++ .../Library/ChassisLib/ChassisLib.c | 71 +++++++++ Silicon/NXP/LX2160A/Library/SocLib/SocLib.c | 80 ++++++++++ .../PL011UartClockLib/PL011UartClockLib.c | 22 +++ .../PciHostBridgeLib/PciHostBridgeLib.c | 2 + .../AArch64/ArmPlatformHelper.S | 45 ++++++ Platform/NXP/LX2160aRdbPkg/VarStore.fdf.inc | 91 +++++++++++ 23 files changed, 917 insertions(+), 43 deletions(-) create mode 100644 Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.dec create mode 100644 Silicon/NXP/Chassis3V2/Chassis3V2.dec create mode 100644 Silicon/NXP/LX2160A/LX2160A.dec create mode 100644 Silicon/NXP/Chassis3V2/Chassis3V2.dsc.inc create mode 100644 Silicon/NXP/LX2160A/LX2160A.dsc.inc create mode 100644 Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.dsc copy Platform/NXP/{LS1043aRdbPkg/LS1043aRdbPkg.fdf =3D> LX2160aRdbPkg/LX21= 60aRdbPkg.fdf} (82%) create mode 100644 Platform/NXP/LX2160aRdbPkg/Library/ArmPlatformLib/ArmPl= atformLib.inf create mode 100644 Silicon/NXP/Chassis3V2/Library/ChassisLib/ChassisLib.in= f create mode 100644 Silicon/NXP/LX2160A/Library/SocLib/SocLib.inf create mode 100644 Silicon/NXP/Library/PL011UartClockLib/PL011UartClockLib= .inf create mode 100644 Silicon/NXP/Chassis3V2/Include/Chassis.h create mode 100644 Silicon/NXP/LX2160A/Include/Soc.h create mode 100644 Platform/NXP/LX2160aRdbPkg/Library/ArmPlatformLib/ArmPl= atformLib.c create mode 100644 Platform/NXP/LX2160aRdbPkg/Library/ArmPlatformLib/ArmPl= atformLibMem.c create mode 100644 Silicon/NXP/Chassis3V2/Library/ChassisLib/ChassisLib.c create mode 100644 Silicon/NXP/LX2160A/Library/SocLib/SocLib.c create mode 100644 Silicon/NXP/Library/PL011UartClockLib/PL011UartClockLib= .c create mode 100644 Platform/NXP/LX2160aRdbPkg/Library/ArmPlatformLib/AArch= 64/ArmPlatformHelper.S create mode 100644 Platform/NXP/LX2160aRdbPkg/VarStore.fdf.inc --=20 2.17.1