Apply this feature to the nbxv3 board too.
Suggested-by: Vladimir Oltean <[email protected]>
Signed-off-by: Vincent Jardin <[email protected]>
---
Changes in v4:
- New patch
board/nxp/lx2160a/nbxv3/eth_nbxv3.c | 3 +++
doc/README.fsl-hwconfig | 3 ++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/board/nxp/lx2160a/nbxv3/eth_nbxv3.c
b/board/nxp/lx2160a/nbxv3/eth_nbxv3.c
index a8d249c5cac..69873909733 100644
--- a/board/nxp/lx2160a/nbxv3/eth_nbxv3.c
+++ b/board/nxp/lx2160a/nbxv3/eth_nbxv3.c
@@ -15,6 +15,7 @@
#include <fsl-mc/fsl_mc.h>
#include "carrier.h"
+#include "../serdes_split.h"
DECLARE_GLOBAL_DATA_PTR;
@@ -34,6 +35,8 @@ void reset_phy(void)
*/
nbxv3_carrier_env_init();
+ lx2160a_serdes_apply_hwconfig();
+
if (IS_ENABLED(CONFIG_FSL_MC_ENET))
mc_env_boot();
}
diff --git a/doc/README.fsl-hwconfig b/doc/README.fsl-hwconfig
index 3f9d2ddad75..dab24009f0f 100644
--- a/doc/README.fsl-hwconfig
+++ b/doc/README.fsl-hwconfig
@@ -47,7 +47,8 @@ usb
serdes1
Specific to the LX2160A boards whose reset_phy() calls
- lx2160a_serdes_apply_hwconfig() before mc_env_boot(): lx2160aqds.
+ lx2160a_serdes_apply_hwconfig() before mc_env_boot(): lx2160aqds,
+ nbxv3.
SRDS_PRTCL_S1 is latched at reset, but the eight SD1 (SerDes) lanes
can still be configured before the DPAA2 management complex (MC) starts.
--
2.43.0