summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/patches/barebox-2021.02.0/net-phy-fix-waiting-for-link.patch
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-04-21 09:38:20 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2021-04-23 12:57:52 +0200
commit18eaac17bf76f5b1cba0ee5ca42137b23047f476 (patch)
tree213c7c81840664057d7e4998f5963007d0ad92ab /configs/platform-v7a/patches/barebox-2021.02.0/net-phy-fix-waiting-for-link.patch
parent22cf9785f7921ce59ec17c5efca219634fff12b3 (diff)
downloadDistroKit-18eaac17bf76f5b1cba0ee5ca42137b23047f476.tar.gz
DistroKit-18eaac17bf76f5b1cba0ee5ca42137b23047f476.tar.xz
v7a: barebox: version bump v2021.02.0 → v2021.04.0
Updating to v2021.04.0 lets us drop the patches we have, but unfortunately we need to import a new patch in return to fix a USB/Ethernet breakage on barebox-rpi2. Kconfig changes are those produced by oldconfig, except for the following: - BTHREAD: new feature that's not used by default, but could use some extra coverage. Enable it for all configuration, except for am335x-mlo, where we have a restrictive size limitation. - MACH_STM32MP15X_EV1: The EV1 is the full featured STM32MP1 evaluation kit. In preperation for supporting this, enable its newly added barebox support. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20210421073820.1318-1-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a/patches/barebox-2021.02.0/net-phy-fix-waiting-for-link.patch')
-rw-r--r--configs/platform-v7a/patches/barebox-2021.02.0/net-phy-fix-waiting-for-link.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/configs/platform-v7a/patches/barebox-2021.02.0/net-phy-fix-waiting-for-link.patch b/configs/platform-v7a/patches/barebox-2021.02.0/net-phy-fix-waiting-for-link.patch
deleted file mode 100644
index cf42798..0000000
--- a/configs/platform-v7a/patches/barebox-2021.02.0/net-phy-fix-waiting-for-link.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From: Sascha Hauer <s.hauer@pengutronix.de>
-Date: Fri, 12 Mar 2021 11:13:09 +0100
-Subject: [PATCH] net: phy: fix waiting for link
-
-phydev->adjust_link() is called only from phy_update_status() when the
-link status changes during that function. phydev->link is also updated
-in genphy_update_link() called from phy_wait_aneg_done(), so it can
-happen that phydev->link changes outside of phy_update_status(), thus
-phydev->adjust_link is never called and no link change notice is
-printed.
-
-Instead of calling genphy_update_link() from phy_wait_aneg_done(), call
-phy_update_status(). This makes sure that a link change is properly
-noticed.
-
-Fixes: 8f75aa496dcb ("net: reply to ping requests")
-Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-Link: https://lore.pengutronix.de/20210312101309.29650-1-s.hauer@pengutronix.de
----
- drivers/net/phy/phy.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
-index 622acbe40dd9..e8e8dad5bd25 100644
---- a/drivers/net/phy/phy.c
-+++ b/drivers/net/phy/phy.c
-@@ -571,7 +571,7 @@ int phy_wait_aneg_done(struct phy_device *phydev)
- }
-
- do {
-- genphy_update_link(phydev);
-+ phy_update_status(phydev);
- if (phydev->link == 1)
- return 0;
- } while (!is_timeout(start, PHY_AN_TIMEOUT * SECOND));