From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=40.107.0.56; helo=eur02-am5-obe.outbound.protection.outlook.com; envelope-from=meenakshi.aggarwal@nxp.com; receiver=edk2-devel@lists.01.org Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00056.outbound.protection.outlook.com [40.107.0.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 76AD8223230E1 for ; Fri, 16 Feb 2018 00:47:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=0cLMPBRhrzXu/jVHyJHQ66U+u8unaErTGEeRtjNn13I=; b=kRWduLrTGQ7mlUnLnMh5ckqElQ3S6p4jJWi9woEVz1LLDgnBb9ABYBWVwN1jfjZLlKuoMUKzDNYgI+Iijh+ODSFrSzpgkZIDtf4wUggXsyRnO1f+LWoIlm/U6wMBfpc5dPB/wqLsxJiKvVa1unwxMDp8qrBUUuKM8b5bz60bh7Y= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=meenakshi.aggarwal@nxp.com; Received: from idcbfarm.ap.freescale.net (192.88.169.1) by VI1PR04MB1008.eurprd04.prod.outlook.com (2a01:111:e400:5090::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.485.10; Fri, 16 Feb 2018 08:53:24 +0000 From: Meenakshi To: ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, michael.d.kinney@intel.com, edk2-devel@lists.01.org Date: Fri, 16 Feb 2018 14:20:10 +0530 Message-Id: <1518771035-6733-15-git-send-email-meenakshi.aggarwal@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1518771035-6733-1-git-send-email-meenakshi.aggarwal@nxp.com> References: <1518771035-6733-1-git-send-email-meenakshi.aggarwal@nxp.com> MIME-Version: 1.0 X-Originating-IP: [192.88.169.1] X-ClientProxiedBy: HK2PR02CA0172.apcprd02.prod.outlook.com (2603:1096:201:1f::32) To VI1PR04MB1008.eurprd04.prod.outlook.com (2a01:111:e400:5090::28) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 9a074b64-0478-4e0d-9e9f-08d5751abed0 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603307)(7153060)(7193020); SRVR:VI1PR04MB1008; X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB1008; 3:iW0PJHgE8Lf20A4Mskup8y9LLiiS8Qk6YjpPP0QIfA7EiKf0Z3IuVaiYC9a67qLmL0dYGmAKE8FF+nt8JVB8s3jsswElv53IAuORlPnl9tgx1WIAxE9Y2xaIiNPX2JUjqPTkBolo75N1MoiQmPp0qywghgoZCmyeOrI6IiEwvIuXUyFtd6JoCu6hperGSzKrwo0pX+rEavG9ToVLY8anVIck7NI7xGj6i84dH3l+oc+IkdGD4Jkpnb/Rl4/17BgP; 25:+fn8s92nb8NNbkCvLl+cA4u++pvZIbVWegZuubK7NppkPjoXTpda3tDwhiqcAGX5AAf6u4rymfroI6WXhjnTQlQKsAMXLPIvZehYYsj2ODrZWb7CmpSGde3NHfcphi8UX0hMo5uIOBf1H9bvDe0CZSBZLoCOYeyl/kwNs90exCOeqrkDus/Q7PZ0oFXpdl0iBawzKnM9697wObYKj/k9LH1PxxQrBOAvJ9Uiww75WW0KQWlvRw7v2rHp2918LZxzZj5KrYckw2+Q4CPlJNrNIvIiJy7m5FUE0eUhsoRjAKcXh/Mx6Btsigcc9UjveVtjxPnRP8CpNzQGzD3oJ6jIhg==; 31:W5Y/H1RzueNDr61pHxMLg3gNAlnJ7Kmmyj5D/zB9fyCVOaF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JE X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231101)(944501161)(6055026)(6041288)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:VI1PR04MB1008; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB1008; X-Forefront-PRVS: 0585417D7B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(376002)(39380400002)(396003)(39860400002)(366004)(199004)(189003)(86362001)(6486002)(8676002)(76176011)(36756003)(4326008)(6116002)(7736002)(386003)(68736007)(186003)(26005)(53936002)(305945005)(16526019)(81156014)(3846002)(6506007)(478600001)(50226002)(16586007)(8936002)(2950100002)(316002)(2906002)(25786009)(97736004)(50466002)(48376002)(105586002)(52116002)(47776003)(81166006)(51416003)(5660300001)(6666003)(106356001)(66066001)(6512007)(19627235001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB1008; H:idcbfarm.ap.freescale.net; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR04MB1008; 23:GjO97ecz90gHwoPqq+/pNS+SC/1h+GTyVavKE9eE7?= =?us-ascii?Q?XqWtZENLiIzaM23rEjy6Lj4qu/tIqXyypvmFq7v4F+OorfiQvplND3H32ygg?= =?us-ascii?Q?JHIaSlT6ZEbYlRv9d0YZezQq5egJI/hUNuVMumrkwDy+uc3o3Apq/Cba4Bge?= =?us-ascii?Q?21hx5+h6OINe+G1CQE0OISD6RsIwPDwHhmeIvIBZ3GXJoTSNS2dOsmgUcvVg?= =?us-ascii?Q?01KnfDlT/6B4gXvCNLZQ2DTz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ft-Exchange-Diagnostics: 1; VI1PR04MB1008; 6:/pv7z2mYKzzGtpK1E244iuHIEFN8Jh5WSBriYYOcy1wBeAWvivmmg2NJ0e2jIKSeQxozZBsiwWnMgfpx1OtrYwMA8I8KPLuy74O65/JltFgrNSo1hB6ggz29PhgGMG0gekJJo9Jecem//fPXtXAP6V8sh91eS0ahMaQGbkn+PGUtQ7ssD8zf/l590TcO1mM6iKW+uvdaOuUlWF7yluWqLfI7w8RvTeqhIwK4ti4SHEo3XT+aasyotWLwq29I9K/Os5+uTwRYg+p31HSQvrMCL7/MQsbG46qh9Q9VuXRlPhQhUFJ+Ee2z5oe4Ht9+q8KQCmIdVZRcCJjMUCRfCi1mB1ydhKfMhPNsbYm+eD1fXbk=; 5:dFI4aolsjM49fU2ZxpLj7NmPkjz6nyeKcH/HWUH9ySWpUVjIx3htgXUuRGuTdjwk9HFnzaFoU/D4gNeB9wMdK56mokbBLHep3/9GAB2WAiFyYqNU8b09SebfBIwtYoRILY5K964uyVR6Y6VHx39aF7nKWjvlr5RGfqQ7LtsnZhQ=; 24:A2NPRipyPNYRDYXafKkerozEUY0TgHaiVO9dUPotTLqtntf/4bBujPG3s2+U7V2Elm4Tpl4ODQbS1Obm/urYaBb5Mxw3nUYbNIfNkIV6pXI=; 7:LL3a+U26WGfo8gJXZIdwufu/doaBO4aVsXeZlGjOp9B3muztLNBtHFWoahgst70v9QRzEklb4BJ1E7fP5i2HPzx899OqADYF8qhyEl4+F7XNUXMVuffnFH/U/RBVY1SGR2DDpdrBCCCGX/VBt2v3aYYqC89PbOHzgPSCKKj9NPbGz+ymxMWDSnRiISWlDXrnB+H7cpuod2FGPTNuOn4ZUCG7nPmAwxgawqJgstP97UuZA3iMAw8O3SAJ7Xx8l2oY SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Feb 2018 08:53:24.2485 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9a074b64-0478-4e0d-9e9f-08d5751abed0 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB1008 Subject: [PATCH edk2-platforms 14/39] LS1043 : Enable support of FpgaLib. 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, 16 Feb 2018 08:47:37 -0000 Content-Type: text/plain From: Meenakshi Aggarwal Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Meenakshi Aggarwal --- Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc | 3 +++ Silicon/NXP/Chassis/Chassis2/Soc.c | 5 +++++ Silicon/NXP/Chassis/LS1043aSocLib.inf | 2 ++ Silicon/NXP/LS1043A/LS1043A.dsc | 2 ++ 4 files changed, 12 insertions(+) diff --git a/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc b/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc index 6e9e7e0..df4d917 100644 --- a/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc +++ b/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc @@ -38,6 +38,9 @@ BeIoLib|Silicon/NXP/Library/BeIoLib/BeIoLib.inf SocLib|Silicon/NXP/Chassis/LS1043aSocLib.inf RealTimeClockLib|Silicon/Maxim/Library/Ds1307RtcLib/Ds1307RtcLib.inf + IfcLib|Silicon/NXP/Library/IfcLib/IfcLib.inf + BoardLib|Platform/NXP/LS1043aRdbPkg/Library/BoardLib/BoardLib.inf + FpgaLib|Platform/NXP/LS1043aRdbPkg/Library/FpgaLib/FpgaLib.inf [PcdsFixedAtBuild.common] diff --git a/Silicon/NXP/Chassis/Chassis2/Soc.c b/Silicon/NXP/Chassis/Chassis2/Soc.c index 7f9f963..17de7e4 100644 --- a/Silicon/NXP/Chassis/Chassis2/Soc.c +++ b/Silicon/NXP/Chassis/Chassis2/Soc.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include @@ -25,6 +26,8 @@ #include "Soc.h" +extern VOID PrintBoardPersonality (VOID); + /** Calculate the frequency of various controllers and populate the passed structure with frequuencies. @@ -167,6 +170,8 @@ SocInit ( // PrintRCW (); PrintSoc (); + IfcInit(); + PrintBoardPersonality (); return; } diff --git a/Silicon/NXP/Chassis/LS1043aSocLib.inf b/Silicon/NXP/Chassis/LS1043aSocLib.inf index 1b2f9c4..d01b353 100644 --- a/Silicon/NXP/Chassis/LS1043aSocLib.inf +++ b/Silicon/NXP/Chassis/LS1043aSocLib.inf @@ -31,6 +31,8 @@ BaseLib BeIoLib DebugLib + FpgaLib + IfcLib SerialPortLib [Sources.common] diff --git a/Silicon/NXP/LS1043A/LS1043A.dsc b/Silicon/NXP/LS1043A/LS1043A.dsc index 8395dfd..a4eb117 100644 --- a/Silicon/NXP/LS1043A/LS1043A.dsc +++ b/Silicon/NXP/LS1043A/LS1043A.dsc @@ -63,11 +63,13 @@ gNxpQoriqLsTokenSpaceGuid.PcdNumI2cController|4 gNxpQoriqLsTokenSpaceGuid.PcdQspiRegionBaseAddr|0x40000000 gNxpQoriqLsTokenSpaceGuid.PcdQspiRegionSize|0x20000000 + gNxpQoriqLsTokenSpaceGuid.PcdIfcBaseAddr|0x1530000 # # Big Endian IPs # gNxpQoriqLsTokenSpaceGuid.PcdGurBigEndian|TRUE gNxpQoriqLsTokenSpaceGuid.PcdWdogBigEndian|TRUE + gNxpQoriqLsTokenSpaceGuid.PcdIfcBigEndian|TRUE ## -- 1.9.1