[PATCH 0/5] board: freescale: remove non-DM_ETH code for Layerscape DPAA2 platforms

Peng Fan peng.fan at oss.nxp.com
Mon Feb 27 01:21:10 CET 2023


For the patchset,

Reviewed-by: Peng Fan <peng.fan at nxp.com>

On 2/15/2023 11:31 PM, Ioana Ciornei wrote:
> Now that DM_ETH is enabled by default and even the ldpaa_eth driver
> doesn't have support for the non-DM_ETH use case (see commit below),
> remove non-DM_ETH code from the board files.
> 	commit cde5a844fbba ("net: ldpaa_eth: Remove non-DM_ETH code")
> 
> There is no point in keeping around the creation of the MDIO bus or the
> hardcoded MDIO PHY addresses since we have these described in the DTS.
> And if there is any RCW combination which is still not supported /
> described by DTS we can always look in the commit history.
> 
> Ioana Ciornei (5):
>    board: freescale: lx2160a: remove hardcoded ethernet initialization
>    board: freescale: lx2160a: remove code under !CONFIG_DM_ETH
>    board: freescale: ls2080rdb: remove code under !CONFIG_DM_ETH
>    board: freescale: ls2080aqds: remove code under !CONFIG_DM_ETH
>    board: freescale: ls1088a: remove code under !CONFIG_DM_ETH
> 
>   board/freescale/ls1088a/eth_ls1088aqds.c   | 739 +---------------
>   board/freescale/ls1088a/eth_ls1088ardb.c   |  93 --
>   board/freescale/ls1088a/ls1088a.c          |   2 +-
>   board/freescale/ls2080aqds/eth.c           | 981 +--------------------
>   board/freescale/ls2080aqds/ls2080aqds.c    |   2 +-
>   board/freescale/ls2080ardb/eth_ls2080rdb.c |  95 --
>   board/freescale/ls2080ardb/ls2080ardb.c    |   2 +-
>   board/freescale/lx2160a/eth_lx2160aqds.c   | 825 +----------------
>   board/freescale/lx2160a/eth_lx2160ardb.c   | 176 ----
>   board/freescale/lx2160a/eth_lx2162aqds.c   | 844 +-----------------
>   board/freescale/lx2160a/lx2160a.c          |   6 +-
>   11 files changed, 17 insertions(+), 3748 deletions(-)
> 


More information about the U-Boot mailing list