mirror of
git://nv-tegra.nvidia.com/kernel/nvethernetrm.git
synced 2025-12-22 09:12:10 +03:00
xpcs_uphy_lane_bring_up: Increase the retry to 1000 for T264
Issue: Uphy lane bring up fails on T264 Fix: Increase the retry to 1000 for T264 and this is temporary fix. Bug 4709627 Change-Id: Ia974e439de3a099ef666803033a3b0155f6dfa61 Signed-off-by: Nagaraj Annaiah <nannaiah@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/kernel/nvethernetrm/+/3160679 Tested-by: Mahesh Patil <maheshp@nvidia.com> Reviewed-by: Bhadram Varka <vbhadram@nvidia.com> Reviewed-by: Krishna Thota <kthota@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Mahesh Patil <maheshp@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
a89360f8db
commit
53fa8d800b
@@ -484,6 +484,10 @@ static nve32_t xpcs_uphy_lane_bring_up(struct osi_core_priv_data *osi_core,
|
||||
T26X_XPCS_WRAP_UPHY_HW_INIT_CTRL
|
||||
};
|
||||
|
||||
if ((osi_core->mac == OSI_MAC_HW_MGBE_T26X) || (osi_core->mac_ver == OSI_EQOS_MAC_5_40)) {
|
||||
retry = 1000U;
|
||||
}
|
||||
|
||||
val = osi_readla(osi_core,
|
||||
(nveu8_t *)xpcs_base + uphy_status_reg[osi_core->mac]);
|
||||
if ((lane_init_en == XPCS_WRAP_UPHY_HW_INIT_CTRL_TX_EN) &&
|
||||
|
||||
Reference in New Issue
Block a user