aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-mediatek/patches/001-mtk-0018-net-mediatek-use-regmap-api-to-modify-ethsys-registe.patch
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2022-07-13 11:28:07 +0100
committerDaniel Golle <daniel@makrotopia.org>2022-07-13 11:38:57 +0100
commite0e74d8a2ced19f46428d30efd388db72d79326b (patch)
tree5a5d2cd08d70f7cb1430f9f446886107675492b7 /package/boot/uboot-mediatek/patches/001-mtk-0018-net-mediatek-use-regmap-api-to-modify-ethsys-registe.patch
parent7659ee1e2786ccc78656362d7007e4c402c939b7 (diff)
downloadupstream-e0e74d8a2ced19f46428d30efd388db72d79326b.tar.gz
upstream-e0e74d8a2ced19f46428d30efd388db72d79326b.tar.bz2
upstream-e0e74d8a2ced19f46428d30efd388db72d79326b.zip
uboot-mediatek: unbreak build with binman
swig has been installed on the buildbots a while a ago and Petr Štetiar got a fix for the pylibfdt error. Use that and re-enable the builds for mt7620 and mt7621. Refresh patches while at it. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/boot/uboot-mediatek/patches/001-mtk-0018-net-mediatek-use-regmap-api-to-modify-ethsys-registe.patch')
-rw-r--r--package/boot/uboot-mediatek/patches/001-mtk-0018-net-mediatek-use-regmap-api-to-modify-ethsys-registe.patch9
1 files changed, 2 insertions, 7 deletions
diff --git a/package/boot/uboot-mediatek/patches/001-mtk-0018-net-mediatek-use-regmap-api-to-modify-ethsys-registe.patch b/package/boot/uboot-mediatek/patches/001-mtk-0018-net-mediatek-use-regmap-api-to-modify-ethsys-registe.patch
index ab5c2a712e..163ffb68c3 100644
--- a/package/boot/uboot-mediatek/patches/001-mtk-0018-net-mediatek-use-regmap-api-to-modify-ethsys-registe.patch
+++ b/package/boot/uboot-mediatek/patches/001-mtk-0018-net-mediatek-use-regmap-api-to-modify-ethsys-registe.patch
@@ -18,8 +18,6 @@ Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
drivers/net/mtk_eth.c | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
-diff --git a/drivers/net/mtk_eth.c b/drivers/net/mtk_eth.c
-index caa83b7cec..ac1e8abd71 100644
--- a/drivers/net/mtk_eth.c
+++ b/drivers/net/mtk_eth.c
@@ -159,9 +159,10 @@ struct mtk_eth_priv {
@@ -34,7 +32,7 @@ index caa83b7cec..ac1e8abd71 100644
struct mii_dev *mdio_bus;
int (*mii_read)(struct mtk_eth_priv *priv, u8 phy, u8 reg);
int (*mii_write)(struct mtk_eth_priv *priv, u8 phy, u8 reg, u16 val);
-@@ -233,7 +234,12 @@ static void mtk_gmac_rmw(struct mtk_eth_priv *priv, u32 reg, u32 clr, u32 set)
+@@ -233,7 +234,12 @@ static void mtk_gmac_rmw(struct mtk_eth_
static void mtk_ethsys_rmw(struct mtk_eth_priv *priv, u32 reg, u32 clr,
u32 set)
{
@@ -48,7 +46,7 @@ index caa83b7cec..ac1e8abd71 100644
}
/* Direct MDIO clause 22/45 access via SoC */
-@@ -1427,15 +1433,9 @@ static int mtk_eth_of_to_plat(struct udevice *dev)
+@@ -1427,15 +1433,9 @@ static int mtk_eth_of_to_plat(struct ude
if (ret)
return ret;
@@ -67,6 +65,3 @@ index caa83b7cec..ac1e8abd71 100644
/* Reset controllers */
ret = reset_get_by_name(dev, "fe", &priv->rst_fe);
---
-2.36.1
-