From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (EUR04-VI1-obe.outbound.protection.outlook.com [40.107.8.81]) by mx.groups.io with SMTP id smtpd.web11.53622.1594023886952057063 for ; Mon, 06 Jul 2020 01:24:48 -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=jWiqvr7g; spf=pass (domain: oss.nxp.com, ip: 40.107.8.81, mailfrom: pankaj.bansal@oss.nxp.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XTEdk08Vv1wGc2WbNUuayWflE5XyNVEd8FiUyvdCtdceom/ERDn4x2aMVKESsLb2eihrWabJstffEXDdO8PdiqYGzLjtGyp95FANvtSYyONAyBhneCthXvfvpnzi7ac/PnUdpw2WwQec/MVzdB7dMv8nvv0KY/Bg/agJ3QCN4cPdAPWCBzRYxLa0LYHwJxhKE33crV6YJ40/KGblIeyE7S/CH78LHDtQZOCmcL4bXoI/G+OG4SHJ2n05s4bRTYIz3no+FlfD+uVNyBMg4cQLoWAk+gK6Ounnxzs1JeeoC5ITOBe9VzhTpwSqXiYbL73wv4uH0Us5YeK4QRZuG8e48A== 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=BirAtN7iujuNzZhMwGVzlzXWgezFLUWJ8zz68uNEA5I=; b=haeIH6NCYtO1uWa/JBGQ8utZzT6YYg7o65BtrfvLVnXk6t3GoZls+nSL7+pJ1fXDSVPgdmmup/VlsQwFjwyqVcLRjD/JFxwDZ0YEoxkjPkd9w+Wj6kWKJ7EsFaV3zdftuwLodV9wZjClbmAMX4CTkXmvvqpyIKZOYIU9Lls8cSQdgPSlcVIwLCZrFSNnyfXqUfiJycBtBLe00WZ4NeOeJ57A61ipFYadrI1N2Cd5xUauhHS5kJPmBO5CBk1iWv1zBAlQETayFECntXLcnTZrccO6vrdu+2wua5NYxmOoBeLkDbmahrqGay89bg2Lz54k/kQYIv3dLRpeE4ZZYAQdmg== 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=BirAtN7iujuNzZhMwGVzlzXWgezFLUWJ8zz68uNEA5I=; b=jWiqvr7gfBdzVDpierlvi9Sq878uZ2V1Yp3SGlwjiUuHg5yY6rggOdvNbtYg4QFWi9kgWdSl4eHPZZ1GwHvVNY0kEGEaL7uYSiGL46koeQAJcvC/Zz5Uj+uHgEBiX90Ptkkj2L6Os9JxUR6/brGgR4f0jzAmYS6MQCN2ZU6xv7o= 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 VI1PR04MB6782.eurprd04.prod.outlook.com (2603:10a6:803:139::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.22; Mon, 6 Jul 2020 08:24:44 +0000 Received: from VI1PR04MB5933.eurprd04.prod.outlook.com ([fe80::4521:b667:cf06:b79b]) by VI1PR04MB5933.eurprd04.prod.outlook.com ([fe80::4521:b667:cf06:b79b%7]) with mapi id 15.20.3153.029; Mon, 6 Jul 2020 08:24:44 +0000 From: "Pankaj Bansal" To: Leif Lindholm , Meenakshi Aggarwal , Michael D Kinney , devel@edk2.groups.io, Varun Sethi , Samer El-Haj-Mahmoud , Augustine Philips , Ard Biesheuvel , Arokia Samy , Kuldip Dwivedi Subject: [PATCH edk2-platforms v2 0/6] Add LS1046AFRWY Platform Date: Mon, 6 Jul 2020 03:24:15 -0500 Message-ID: <20200706082421.9139-1-pankaj.bansal@oss.nxp.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: BYAPR08CA0035.namprd08.prod.outlook.com (2603:10b6:a03:100::48) 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 TFTPTOUEFI.am.freescale.net (64.157.242.222) by BYAPR08CA0035.namprd08.prod.outlook.com (2603:10b6:a03:100::48) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.22 via Frontend Transport; Mon, 6 Jul 2020 08:24:41 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [64.157.242.222] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 6c809a22-0bbd-4105-4238-08d82186095e X-MS-TrafficTypeDiagnostic: VI1PR04MB6782: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6430; X-Forefront-PRVS: 04569283F9 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: b/8vjhjPe+WcU9IvpFywAEmjGX4H+RtRrGjfDrDCjWf+o3gfs1VnukkXt3pdKMpkQai6TwnKkqBqxg1RzogyJjACTMs8rk9jM3NrO9/YBEnRQAfME2aW8aFYMXQ/wotFqS05Ze4DcZaUyzLEPuRxlkJY1xOHf47sMPE0MW9xPT3fVMDiSURTuEg6GQD5TAmcZrteyO4wSpxgnKbxpASWnFrm7IuytiSSWrGPotIv7zWb2vARGuYcCtZj1kMukKiK0l5M8nXBgKbdNyJa8MOlycnmIN4RcE6tEgYmFSWymU+jV22icANMcw9xmYOtk09MarSdospuTnLjnw3+wdpLjjsXp1ghnEdiP3nn1A3CTUTFrjvI+0Z+3N+JTcJfMGzs2Liv5NMZyvVss+gMdAWszIuYlGFUzQhySnoGMchuZWLE8einoUZaBNaahGBPiep90kV9iAEarxQcZeqI0D8XZQ== 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)(396003)(136003)(366004)(346002)(39860400002)(376002)(966005)(1076003)(478600001)(52116002)(83380400001)(6506007)(66476007)(16526019)(186003)(5660300002)(316002)(110136005)(6512007)(956004)(2616005)(44832011)(8676002)(6486002)(19627235002)(66946007)(86362001)(66556008)(8936002)(2906002)(26005)(6666004)(921003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: Mrs8N16b2kGDVEZfNgLPvFhCihM2UjOeCxzxtznh6xwqp2lkaEZTUqpRx4mDwlTdDBWnyC51q+KllV2pn7CitpFN0VpILNj5XmxziRHKmjHeSLsEdpv69b386gJUsbwYPJYOpCMj5csNi2Z3VNIW99aB7nTG1aqjV2aq4E1h2FulMurzgD23502F6CkHLHGU6RvQn1vOuy8+RsrnavZiVP+uUo3eIU7tvuZgQYF0wPLMFmRekJLgIRx8bBsvBNtiKCohW2tAgERquCevmYGZjYz5kHjS6ysGQqDIkRE6Hx4lGdNvoTjYxYRTM7LdUEYOlGa4fFKz1eqzi4XNUZvthekhKvtCFTcnL9GL8UwyaV9uPNGGkiVsziFZSkC0Upbzg+YwdG6rf+Z2YofqxcyOENz2GPuPyGYxMreiYolGTUckWr2eomb+Oi3pqH1341TrZndQkncjYADeh8Kky2InIsvUpysYXXVwoMmH89WQVHs7Pr0R/Ek6tpKbm2/2nmX9 X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6c809a22-0bbd-4105-4238-08d82186095e X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5933.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2020 08:24:44.3129 (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: MTJ8b+ymPmdea3UozXoe+9uKOMyJgvY4mVJMEbdGdI79luHpr6kY7l1ACglKUQxuDEA8yqZiHesVicygF71lUg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6782 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Pankaj Bansal The Layerscape LS1046A Freeway (FRWY-LS1046A) board is a high-performance development platform that supports the QorIQ LS1046A architecture processor. The LS1046A SOC is based on Layerscape Chassis2. The code structure is same as Chassis2 and LS1043A SOC and LS1043ARDB platform. V1 can be referred here: https://edk2.groups.io/g/devel/message/60577 Changes in V2 w.r.t V1: - No functional changes - Explaination Added for PATCH 2/6 Silicon/NXP/LS1043A: Fix the RCW bits' p= arsing - Refer PATCH 1/6 Silicon/NXP: Add comments explaining RCW bits' parsing for expalaination for PATCH 2/6 Silicon/NXP/LS1043A: Fix the RCW bits' pa= rsing Pankaj Bansal (6): Silicon/NXP: Add comments explaining RCW bits' parsing Silicon/NXP/LS1043A: Fix the RCW bits' parsing Silicon/NXP: Add LS1046A Soc package Platform/NXP/LS1046AFRWY: Add ArmPlatformLib Platform/NXP: Add LS1046AFRWY Platform Platform/NXP/LS1046aFrwyPkg: Add VarStore .../NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.dec | 23 +++ Silicon/NXP/LS1046A/LS1046A.dec | 13 ++ Silicon/NXP/LS1046A/LS1046A.dsc.inc | 42 +++++ .../NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.dsc | 46 +++++ .../NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.fdf | 169 ++++++++++++++++++ .../Library/ArmPlatformLib/ArmPlatformLib.inf | 42 +++++ Silicon/NXP/LS1046A/Library/SocLib/SocLib.inf | 27 +++ Silicon/NXP/LS1043A/Include/Soc.h | 29 ++- Silicon/NXP/LS1046A/Include/Soc.h | 63 +++++++ Silicon/NXP/LS1046A/Include/SocSerDes.h | 33 ++++ Silicon/NXP/LX2160A/Include/Soc.h | 28 ++- .../Library/ArmPlatformLib/ArmPlatformLib.c | 147 +++++++++++++++ .../ArmPlatformLib/ArmPlatformLibMem.c | 75 ++++++++ Silicon/NXP/LS1046A/Library/SocLib/SerDes.c | 119 ++++++++++++ Silicon/NXP/LS1046A/Library/SocLib/SocLib.c | 78 ++++++++ .../AArch64/ArmPlatformHelper.S | 45 +++++ Platform/NXP/LS1046aFrwyPkg/VarStore.fdf.inc | 91 ++++++++++ 17 files changed, 1068 insertions(+), 2 deletions(-) create mode 100644 Platform/NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.dec create mode 100644 Silicon/NXP/LS1046A/LS1046A.dec create mode 100644 Silicon/NXP/LS1046A/LS1046A.dsc.inc create mode 100644 Platform/NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.dsc create mode 100644 Platform/NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.fdf create mode 100644 Platform/NXP/LS1046aFrwyPkg/Library/ArmPlatformLib/ArmP= latformLib.inf create mode 100644 Silicon/NXP/LS1046A/Library/SocLib/SocLib.inf create mode 100644 Silicon/NXP/LS1046A/Include/Soc.h create mode 100644 Silicon/NXP/LS1046A/Include/SocSerDes.h create mode 100644 Platform/NXP/LS1046aFrwyPkg/Library/ArmPlatformLib/ArmP= latformLib.c create mode 100644 Platform/NXP/LS1046aFrwyPkg/Library/ArmPlatformLib/ArmP= latformLibMem.c create mode 100644 Silicon/NXP/LS1046A/Library/SocLib/SerDes.c create mode 100644 Silicon/NXP/LS1046A/Library/SocLib/SocLib.c create mode 100644 Platform/NXP/LS1046aFrwyPkg/Library/ArmPlatformLib/AArc= h64/ArmPlatformHelper.S create mode 100644 Platform/NXP/LS1046aFrwyPkg/VarStore.fdf.inc --=20 2.17.1