From b052b62efc3d49f61eb12d48b16851a48cfb928c Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Sat, 7 Mar 2020 16:58:32 +0100 Subject: apm821xx: 4.14: remove kernel config and patches This patch removes the 4.14 kernel support from the apm821xx target. The 4.19 kernel has been available and stable for a while and the 5.4 kernel support has been tested successfully on real hardware as well. Signed-off-by: Christian Lamparter --- ...c-replace-custom-rgmii_mode_name-with-phy.patch | 51 ---------------------- 1 file changed, 51 deletions(-) delete mode 100644 target/linux/apm821xx/patches-4.14/030-0001-net-ibm-emac-replace-custom-rgmii_mode_name-with-phy.patch (limited to 'target/linux/apm821xx/patches-4.14/030-0001-net-ibm-emac-replace-custom-rgmii_mode_name-with-phy.patch') diff --git a/target/linux/apm821xx/patches-4.14/030-0001-net-ibm-emac-replace-custom-rgmii_mode_name-with-phy.patch b/target/linux/apm821xx/patches-4.14/030-0001-net-ibm-emac-replace-custom-rgmii_mode_name-with-phy.patch deleted file mode 100644 index 28969a7b4a..0000000000 --- a/target/linux/apm821xx/patches-4.14/030-0001-net-ibm-emac-replace-custom-rgmii_mode_name-with-phy.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 54e1b3004eb85f9317f6c4ceff2e097231c7f52a Mon Sep 17 00:00:00 2001 -From: Christian Lamparter -Date: Wed, 20 Dec 2017 22:11:22 +0100 -Subject: [PATCH 1/3] net: ibm: emac: replace custom rgmii_mode_name with - phy_modes - -The common phylib defines the same names (in lower-case). -Since rgmii_mode_name() is used only in one place and -for a "notice-level" printk, I think it can be replaced. - -Signed-off-by: Christian Lamparter ---- - drivers/net/ethernet/ibm/emac/rgmii.c | 20 +------------------- - 1 file changed, 1 insertion(+), 19 deletions(-) - ---- a/drivers/net/ethernet/ibm/emac/rgmii.c -+++ b/drivers/net/ethernet/ibm/emac/rgmii.c -@@ -59,24 +59,6 @@ static inline int rgmii_valid_mode(int p - phy_mode == PHY_MODE_RTBI; - } - --static inline const char *rgmii_mode_name(int mode) --{ -- switch (mode) { -- case PHY_MODE_RGMII: -- return "RGMII"; -- case PHY_MODE_TBI: -- return "TBI"; -- case PHY_MODE_GMII: -- return "GMII"; -- case PHY_MODE_MII: -- return "MII"; -- case PHY_MODE_RTBI: -- return "RTBI"; -- default: -- BUG(); -- } --} -- - static inline u32 rgmii_mode_mask(int mode, int input) - { - switch (mode) { -@@ -115,7 +97,7 @@ int rgmii_attach(struct platform_device - out_be32(&p->fer, in_be32(&p->fer) | rgmii_mode_mask(mode, input)); - - printk(KERN_NOTICE "%pOF: input %d in %s mode\n", -- ofdev->dev.of_node, input, rgmii_mode_name(mode)); -+ ofdev->dev.of_node, input, phy_modes(mode)); - - ++dev->users; - -- cgit v1.2.3