From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=92.121.34.13; helo=inva020.nxp.com; envelope-from=meenakshi.aggarwal@nxp.com; receiver=edk2-devel@lists.01.org Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id D256921196222 for ; Wed, 28 Nov 2018 01:16:21 -0800 (PST) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 98E071A0303; Wed, 28 Nov 2018 10:16:20 +0100 (CET) Received: from inv0113.in-blr01.nxp.com (inv0113.in-blr01.nxp.com [165.114.116.118]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 680651A02F8; Wed, 28 Nov 2018 10:16:20 +0100 (CET) Received: from uefi-OptiPlex-790.ap.freescale.net (uefi-OptiPlex-790.ap.freescale.net [10.232.132.78]) by inv0113.in-blr01.nxp.com (Postfix) with ESMTP id C573A363; Wed, 28 Nov 2018 14:46:19 +0530 (IST) From: Meenakshi Aggarwal To: ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, michael.d.kinney@intel.com, edk2-devel@lists.01.org Date: Wed, 28 Nov 2018 20:31:29 +0530 Message-Id: <1543417315-5763-16-git-send-email-meenakshi.aggarwal@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1543417315-5763-1-git-send-email-meenakshi.aggarwal@nxp.com> References: <1518771035-6733-1-git-send-email-meenakshi.aggarwal@nxp.com> <1543417315-5763-1-git-send-email-meenakshi.aggarwal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [PATCH edk2-platforms 15/41] LS1043 : Enable support of FpgaLib. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Nov 2018 09:16:22 -0000 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Meenakshi Aggarwal Reviewed-by: Leif Lindholm --- Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc | 3 +++ Silicon/NXP/LS1043A/LS1043A.dsc.inc | 2 ++ Silicon/NXP/Library/SocLib/Chassis2/Soc.c | 5 +++++ Silicon/NXP/Library/SocLib/LS1043aSocLib.inf | 2 ++ 4 files changed, 12 insertions(+) diff --git a/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc b/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc index c2701fe..48a7b5a 100644 --- a/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc +++ b/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc @@ -38,6 +38,9 @@ SerialPortLib|Silicon/NXP/Library/DUartPortLib/DUartPortLib.inf IoAccessLib|Silicon/NXP/Library/IoAccessLib/IoAccessLib.inf RealTimeClockLib|Silicon/Maxim/Library/Ds1307RtcLib/Ds1307RtcLib.inf + IfcLib|Silicon/NXP/Library/IfcLib/IfcLib.inf + BoardLib|Platform/NXP/LS1043aRdbPkg/Library/BoardLib/BoardLib.inf + FpgaLib|Silicon/NXP/Library/FpgaLib/FpgaLib.inf [PcdsFixedAtBuild.common] diff --git a/Silicon/NXP/LS1043A/LS1043A.dsc.inc b/Silicon/NXP/LS1043A/LS1043A.dsc.inc index 8395dfd..a4eb117 100644 --- a/Silicon/NXP/LS1043A/LS1043A.dsc.inc +++ b/Silicon/NXP/LS1043A/LS1043A.dsc.inc @@ -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 ## diff --git a/Silicon/NXP/Library/SocLib/Chassis2/Soc.c b/Silicon/NXP/Library/SocLib/Chassis2/Soc.c index 1875c3b..e79728e 100644 --- a/Silicon/NXP/Library/SocLib/Chassis2/Soc.c +++ b/Silicon/NXP/Library/SocLib/Chassis2/Soc.c @@ -19,11 +19,14 @@ #include #include #include +#include #include #include #include #include +extern VOID PrintBoardPersonality (VOID); + /** Calculate the frequency of various controllers and populate the passed structure with frequuencies. @@ -162,6 +165,8 @@ SocInit ( // PrintRCW (); PrintSoc (); + IfcInit (); + PrintBoardPersonality (); return; } diff --git a/Silicon/NXP/Library/SocLib/LS1043aSocLib.inf b/Silicon/NXP/Library/SocLib/LS1043aSocLib.inf index d16288a..af0790f 100644 --- a/Silicon/NXP/Library/SocLib/LS1043aSocLib.inf +++ b/Silicon/NXP/Library/SocLib/LS1043aSocLib.inf @@ -29,6 +29,8 @@ [LibraryClasses] BaseLib DebugLib + FpgaLib + IfcLib IoAccessLib SerialPortLib -- 1.9.1