From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::242; helo=mail-wr0-x242.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x242.google.com (mail-wr0-x242.google.com [IPv6:2a00:1450:400c:c0c::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C003A2268479E for ; Wed, 18 Apr 2018 11:43:53 -0700 (PDT) Received: by mail-wr0-x242.google.com with SMTP id o15-v6so7456741wro.11 for ; Wed, 18 Apr 2018 11:43:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=MvnDs/x7v0J6ZlmChxFB/oMXBHczom/9kmjlYcMSmJ4=; b=jjx+mMicIPdwf11S1W6O3O2pkIRuf0XFWUq17A2GJ/ozkC4bEHB3wN1ze7Lq9q3ZKZ rccnhZodUD6CVaTjSusg7wpg2WzJuazyNPHWX+3I8MJCM5xXkXXIvdLXVYh7OCxAGuKD y8SaHZ7ldCSYBDcPOtx/NgDOQAf1KZOJVcyOk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=MvnDs/x7v0J6ZlmChxFB/oMXBHczom/9kmjlYcMSmJ4=; b=UWFMYe1vqdjd/xJMgZ3D99qKgnZyHClGDvbQTMlfACAWnswTt2NKhjf7YQP2635LxZ qckRW8WL0zydDVTySyBGY/9cy4Mu83GS0Mq4p26/N0ojTnfP7cPUfCbISZOabu+nRZtl Ujm1GT0A+eh90qOq8Om6cGy8hP0iPE4HfgqvSw+DsCxNtuFZcvi+n6bnBZbUnPnVKYM5 9VqF03HiMxh9v38j74mgI4k8XIwTRR1G/arfbrP0nbU91BoTe+ice+3gEVKCcRDVYszI 9IilGk+6XCG2e5O+Mb3D+d6YXX30HdjYrODbCVmRJDINrXF1Acl76z5byshWIH+TZU0K XmeA== X-Gm-Message-State: ALQs6tBroleKYUx2WOgwUuH2Cu4oaSzcN6uyw5wZl/VuMNc2UXaug1da 0MyOmfG5uqFzthfQ0sEFQE2xmw== X-Google-Smtp-Source: AIpwx4+iKPoqQ03gjf85MBD5ESDtIK8mH7D4A/wxlu9e5ItFwwEZQKD4yzyAtodC9JXK+Ser10ZPDg== X-Received: by 2002:adf:ac64:: with SMTP id v91-v6mr2353314wrc.80.1524077032237; Wed, 18 Apr 2018 11:43:52 -0700 (PDT) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id v5sm1577123wmh.19.2018.04.18.11.43.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Apr 2018 11:43:51 -0700 (PDT) Date: Wed, 18 Apr 2018 19:43:49 +0100 From: Leif Lindholm To: Meenakshi Cc: ard.biesheuvel@linaro.org, michael.d.kinney@intel.com, edk2-devel@lists.01.org, udit.kumar@nxp.com, v.sethi@nxp.com Message-ID: <20180418184349.gfkxxeuzhvtczvw5@bivouac.eciton.net> References: <1518771035-6733-1-git-send-email-meenakshi.aggarwal@nxp.com> <1518771035-6733-15-git-send-email-meenakshi.aggarwal@nxp.com> MIME-Version: 1.0 In-Reply-To: <1518771035-6733-15-git-send-email-meenakshi.aggarwal@nxp.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [PATCH edk2-platforms 14/39] LS1043 : Enable support of FpgaLib. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2018 18:43:54 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Feb 16, 2018 at 02:20:10PM +0530, Meenakshi wrote: > From: Meenakshi Aggarwal > > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Meenakshi Aggarwal Reviewed-by: Leif Lindholm > --- > 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 >