net:stmmac: remove DWMAC_CORE_5_20 hw config
authoryanhong.wang <yanhong.wang@starfivetech.com>
Fri, 22 Apr 2022 08:13:08 +0000 (16:13 +0800)
committeryanhong.wang <yanhong.wang@starfivetech.com>
Sun, 24 Apr 2022 07:37:13 +0000 (15:37 +0800)
The version DWMAC_CORE_5_20 and DWMAC_CORE_5_10 would use the same
configuration,so remove the DWMAC_CORE_5_20 configuration.

Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
drivers/net/ethernet/stmicro/stmmac/hwif.c

index ab7dbb6..bb7114f 100644 (file)
@@ -215,24 +215,6 @@ static const struct stmmac_hwif_entry {
                .quirks = NULL,
        }, {
                .gmac = false,
-               .gmac4 = true,
-               .xgmac = false,
-               .min_id = DWMAC_CORE_5_20,
-               .regs = {
-                       .ptp_off = PTP_GMAC4_OFFSET,
-                       .mmc_off = MMC_GMAC4_OFFSET,
-               },
-               .desc = &dwmac4_desc_ops,
-               .dma = &dwmac410_dma_ops,
-               .mac = &dwmac510_ops,
-               .hwtimestamp = &stmmac_ptp,
-               .mode = &dwmac4_ring_mode_ops,
-               .tc = &dwmac510_tc_ops,
-               .mmc = &dwmac_mmc_ops,
-               .setup = dwmac4_setup,
-               .quirks = NULL,
-       }, {
-               .gmac = false,
                .gmac4 = false,
                .xgmac = true,
                .min_id = DWXGMAC_CORE_2_10,