<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2-platforms.git/Silicon/NXP/Library, branch CodeCleanup</title>
<subtitle>EDK II sample platform branches and tags (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2-platforms.git/atom?h=CodeCleanup</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/atom?h=CodeCleanup'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/'/>
<updated>2023-10-13T10:12:01+00:00</updated>
<entry>
<title>NXP/Pcf8563RealTimeClockLib: hide LibRtcVirtualNotifyEvent</title>
<updated>2023-10-13T10:12:01+00:00</updated>
<author>
<name>Laszlo Ersek</name>
<email>lersek@redhat.com</email>
</author>
<published>2023-10-12T09:09:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=e18af89799dadb4f906734dcf2d358168df539af'/>
<id>urn:sha1:e18af89799dadb4f906734dcf2d358168df539af</id>
<content type='text'>
The RealTimeClockLib class header in edk2 mistakenly declares a function
called LibRtcVirtualNotifyEvent(). No component ever calls this function
crossing module boundaries; all RealTimeClockLib instances in edk2 and
edk2-platforms are supposed to register (and do register) their
SetVirtualAddressMap() notification functions.

Rename LibRtcVirtualNotifyEvent() to VirtualNotifyEvent(), and make it
static, in preparation for removing the LibRtcVirtualNotifyEvent()
declaration from the lib class header later.

Build-tested only (with "DeveloperBox.dsc").

Cc: Leif Lindholm &lt;quic_llindhol@quicinc.com&gt;
Cc: Masami Hiramatsu &lt;masami.hiramatsu@linaro.org&gt;
Cc: Meenakshi Aggarwal &lt;meenakshi.aggarwal@nxp.com&gt;
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=4564
Signed-off-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
Reviewed-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
</content>
</entry>
<entry>
<title>Silicon/NXP/Pcf8563RealTimeClockLib: Clear Nanosecond field in GetTime</title>
<updated>2021-07-28T10:43:43+00:00</updated>
<author>
<name>Masami Hiramatsu</name>
<email>masami.hiramatsu@linaro.org</email>
</author>
<published>2021-07-26T08:28:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=c131fed73d370dff84d0c9dea715ebddddec499d'/>
<id>urn:sha1:c131fed73d370dff84d0c9dea715ebddddec499d</id>
<content type='text'>
Clear unsupported Nanosecond field of the EFI_TIME data structure.
Without this fix, date/time commands on UEFI shell fail to set
because of the invaild parameter error.
This is tested on the SynQuacer DeveloperBox platform which also
uses 'Pcf8563' RTC chip.

Signed-off-by: Masami Hiramatsu &lt;masami.hiramatsu@linaro.org&gt;
Reported-by: Kazuhiko Sakamoto &lt;sakamoto.kazuhiko@socionext.com&gt;
</content>
</entry>
<entry>
<title>Silicon/NXP: Add GPIO Library support.</title>
<updated>2020-10-09T16:02:29+00:00</updated>
<author>
<name>Meenakshi Aggarwal</name>
<email>meenakshi.aggarwal@oss.nxp.com</email>
</author>
<published>2020-10-07T16:10:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=f4b89f521115b5a9d8d085f98df74eb302653798'/>
<id>urn:sha1:f4b89f521115b5a9d8d085f98df74eb302653798</id>
<content type='text'>
General-purpose I/O (GPIO) module is integrated on chip.

In general, the GPIO module supports up to 32 general-purpose
I/O ports. Each port can be configured as an input or as an
output. However, some implementations may restrict specific ports to
input-only, output-only, or reserved (unimplemented).

Co-authored-by: Pramod Kumar &lt;pramod.kumar_1@nxp.com&gt;
Signed-off-by: Meenakshi Aggarwal &lt;meenakshi.aggarwal@nxp.com&gt;
Reviewed-by: Leif Lindholm &lt;leif@nuviainc.com&gt;
</content>
</entry>
<entry>
<title>Platform/NXP: LX2160aRdbPkg: Hide Root Port for LX2160A-Rev2</title>
<updated>2020-07-03T14:43:25+00:00</updated>
<author>
<name>Wasim Khan</name>
<email>wasim.khan@nxp.com</email>
</author>
<published>2020-06-29T06:45:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=075ed0e20b4888993a0f3ed21bea4eee5e757845'/>
<id>urn:sha1:075ed0e20b4888993a0f3ed21bea4eee5e757845</id>
<content type='text'>
PCIe Layerscape controller in LX2160A-Rev2 is not completely
ECAM-compliant. It is non-ECAM only for the root bus (bus 0)
and for any other bus underneath the root bus it does support
ECAM access.
One approach can be to setup the controller in firmware and
expose bus[0x1-0xff] to OS via MCFG and DSDT table.
Introduce PcdPciHideRootPort PCD and set it for LX2160A-Rev2 for this.
Limit the size of CFG0 iATU window (for type0 config transactions)
to 32KB to avoid enumuration of unwanted devices in OS.

Signed-off-by: Wasim Khan &lt;wasim.khan@nxp.com&gt;
Reviewed-by: Leif Lindholm &lt;leif@nuviainc.com&gt;
</content>
</entry>
<entry>
<title>Silicon/NXP: SerDesHelperLib: Correct DEBUG log</title>
<updated>2020-06-17T12:32:38+00:00</updated>
<author>
<name>Wasim Khan</name>
<email>wasim.khan@nxp.com</email>
</author>
<published>2020-06-16T19:01:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=04c870e67d1144569231db3486c303119768ccc9'/>
<id>urn:sha1:04c870e67d1144569231db3486c303119768ccc9</id>
<content type='text'>
Update DEBUG log to indicate SerDes protocol
is in hex.

Signed-off-by: Wasim Khan &lt;wasim.khan@nxp.com&gt;
Reviewed-by: Leif Lindholm &lt;leif@nuviainc.com&gt;
</content>
</entry>
<entry>
<title>Silicon/NXP: PciHostBridgeLib: Initialize only enabled PCIe controllers</title>
<updated>2020-06-12T15:31:36+00:00</updated>
<author>
<name>Wasim Khan</name>
<email>wasim.khan@nxp.com</email>
</author>
<published>2020-06-08T18:52:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=c764551258ee8d97d0c8988ec4f3afb2abf8dcc3'/>
<id>urn:sha1:c764551258ee8d97d0c8988ec4f3afb2abf8dcc3</id>
<content type='text'>
Based on the serdes protocol value in reset configuration
word (RCW), different PCIe controllers are enabled.
Get SerDes protocol map and initialize only enabled PCIe
controllers.

Signed-off-by: Wasim Khan &lt;wasim.khan@nxp.com&gt;
Reviewed-by: Leif Lindholm &lt;leif@nuviainc.com&gt;
</content>
</entry>
<entry>
<title>Silicon/NXP/Library: Implement SerDesHelperLib</title>
<updated>2020-06-12T15:31:20+00:00</updated>
<author>
<name>Wasim Khan</name>
<email>wasim.khan@nxp.com</email>
</author>
<published>2020-06-08T18:52:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=7bdb08fa3c08d434b2c999ee1d319dd2515a13f8'/>
<id>urn:sha1:7bdb08fa3c08d434b2c999ee1d319dd2515a13f8</id>
<content type='text'>
Implement SerDesHelperLib to provide helper functions which
can be used for SoC specific SerDes configuration.

Signed-off-by: Wasim Khan &lt;wasim.khan@nxp.com&gt;
Reviewed-by: Leif Lindholm &lt;leif@nuviainc.com&gt;
</content>
</entry>
<entry>
<title>Silicon/NXP: Implement PL011UartClockLib for NXP platforms</title>
<updated>2020-06-01T17:58:31+00:00</updated>
<author>
<name>Pankaj Bansal</name>
<email>pankaj.bansal@nxp.com</email>
</author>
<published>2020-06-01T13:34:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=8bbc6367b05ed314a080f7460830d5d2716a3eff'/>
<id>urn:sha1:8bbc6367b05ed314a080f7460830d5d2716a3eff</id>
<content type='text'>
In NXP SOCs the UART clock is derived from System clock after PLL
multiplication. Therefore, add the PL011UartClockLib implementation
for NXP platforms.

Signed-off-by: Pankaj Bansal &lt;pankaj.bansal@nxp.com&gt;
Reviewed-by: Leif Lindholm &lt;leif@nuviainc.com&gt;
</content>
</entry>
<entry>
<title>Silicon/NXP/PciHostBridgeLib: Fix compilation with MDEPKG_NDEBUG flag</title>
<updated>2020-06-01T17:58:16+00:00</updated>
<author>
<name>Pankaj Bansal</name>
<email>pankaj.bansal@nxp.com</email>
</author>
<published>2020-06-01T13:34:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=236cfc7561e00f70c5911bcb2de826bd16a2110b'/>
<id>urn:sha1:236cfc7561e00f70c5911bcb2de826bd16a2110b</id>
<content type='text'>
when MDEPKG_NDEBUG flag is enabled, RELEASE build fails with this error:

error: mPciHostBridgeLibAcpiAddressSpaceTypeStr defined but not used
[-Werror=unused-variable]

Fix this error by protecting mPciHostBridgeLibAcpiAddressSpaceTypeStr
with MDEPKG_NDEBUG macro.

Suggested-by: Leif Lindholm &lt;leif@nuviainc.com&gt;
Signed-off-by: Pankaj Bansal &lt;pankaj.bansal@nxp.com&gt;
Reviewed-by: Leif Lindholm &lt;leif@nuviainc.com&gt;
</content>
</entry>
<entry>
<title>Silicon/NXP: PciSegmentLib: LsGen4Ctrl: Add Workaround for A-011264</title>
<updated>2020-05-26T09:48:59+00:00</updated>
<author>
<name>Wasim Khan</name>
<email>wasim.khan@nxp.com</email>
</author>
<published>2020-05-26T08:37:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=a3939fa76dc44d9bbf1edeaba649047c98af9170'/>
<id>urn:sha1:a3939fa76dc44d9bbf1edeaba649047c98af9170</id>
<content type='text'>
With PCIe LsGen4 controller, clearing the Bus Master Enable bit in
Command register blocks all outbound transactions to be sent out
in RC mode.

According to PCI Express base specification, the Command register's
Bus Master Enable bit of a PCI Express RC controller can only
control the forwarding of memory requests received at its root port
in the upstream direction. In other words, clearing the Bus Master
Enable bit must not block all outbound transactions to be sent out
toward RC's downstream devices. Due to this erratum, when the
Command register's Bus Master Enable bit is cleared, all the outbound
transactions from the device's internal bus masters, including but
not limited to configuration read and write transactions, are
terminated with the slave error (SLVERR) response status on the PCI
Express RC controller's internal AXI bus interface.

Signed-off-by: Wasim Khan &lt;wasim.khan@nxp.com&gt;
Reviewed-by: Ard Biesheuvel &lt;ard.biesheuvel@arm.com&gt;
</content>
</entry>
</feed>
