From: Wasim Khan <wasim.k...@nxp.com> NXP SoCs supports different Serdes protocols using reset configuration word (RCW). Based on Serdes protocol value in reset configuration word (RCW) different IP blocks gets enabled in HW.
This patch series implements SerDesHelperLib and provide SoC specific serdes configuration for LS1043A, which can be used by different IPs (Ex: PCIe) to know the enabled interfaces and perform the required initialization. V1 Series can be referred here: https://edk2.groups.io/g/devel/message/60542 Changes in V2: - Addressed review comments received on V1. Wasim Khan (3): Silicon/NXP/Library: Implement SerDesHelperLib Silicon/NXP: LS1043A: Add SerDes Support Silicon/NXP: PciHostBridgeLib: Initialize only enabled PCIe controllers Silicon/NXP/NxpQoriqLs.dec | 1 + Silicon/NXP/LS1043A/LS1043A.dsc.inc | 2 + Silicon/NXP/LS1043A/Library/SocLib/SocLib.inf | 6 + Silicon/NXP/Library/PciHostBridgeLib/PciHostBridgeLib.inf | 1 + Silicon/NXP/Library/SerDesHelperLib/SerDesHelperLib.inf | 28 ++++ Silicon/NXP/Include/Library/SerDes.h | 28 ++++ Silicon/NXP/Include/Library/SerDesHelperLib.h | 64 ++++++++ Silicon/NXP/LS1043A/Library/SocLib/SerDes.c | 132 ++++++++++++++++ Silicon/NXP/Library/PciHostBridgeLib/PciHostBridgeLib.c | 35 ++++- Silicon/NXP/Library/SerDesHelperLib/SerDesHelperLib.c | 164 ++++++++++++++++++++ 10 files changed, 460 insertions(+), 1 deletion(-) create mode 100644 Silicon/NXP/Library/SerDesHelperLib/SerDesHelperLib.inf create mode 100644 Silicon/NXP/Include/Library/SerDes.h create mode 100644 Silicon/NXP/Include/Library/SerDesHelperLib.h create mode 100644 Silicon/NXP/LS1043A/Library/SocLib/SerDes.c create mode 100644 Silicon/NXP/Library/SerDesHelperLib/SerDesHelperLib.c -- 2.7.4 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#60836): https://edk2.groups.io/g/devel/message/60836 Mute This Topic: https://groups.io/mt/74734941/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-