summaryrefslogtreecommitdiff
path: root/drivers/net/dwc_eth_qos.h
diff options
context:
space:
mode:
authorErik Schumacher <erik.schumacher@iris-sensing.com>2024-10-28 15:29:42 +0000
committerFabio Estevam <festevam@gmail.com>2024-10-29 16:25:53 -0300
commit669e628d446e7d44d2085a5cd076099db506cbf6 (patch)
tree0e05ac365ecf51c341aa4853c6face6e3f3cb10a /drivers/net/dwc_eth_qos.h
parent1beb665c50c6382632649069edc4bb7c9e3a2f80 (diff)
net: dwc_eth_qos: Add support for platform specific reset
This patch adds support for optional platform specific reset logic in the dwc_eth_qos driver. This new function 'eqos_fix_soc_reset' is called after the EQOS_DMA_MODE_SWR is set and before the driver waits for this bit to clear. Signed-off-by: Erik Schumacher <erik.schumacher@iris-sensing.com>
Diffstat (limited to 'drivers/net/dwc_eth_qos.h')
-rw-r--r--drivers/net/dwc_eth_qos.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dwc_eth_qos.h b/drivers/net/dwc_eth_qos.h
index ce57e22a81f..123f98d5d53 100644
--- a/drivers/net/dwc_eth_qos.h
+++ b/drivers/net/dwc_eth_qos.h
@@ -248,6 +248,7 @@ struct eqos_ops {
int (*eqos_set_tx_clk_speed)(struct udevice *dev);
int (*eqos_get_enetaddr)(struct udevice *dev);
ulong (*eqos_get_tick_clk_rate)(struct udevice *dev);
+ void (*eqos_fix_soc_reset)(struct udevice *dev);
};
struct eqos_priv {