aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/fec_mxc.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-11-27 10:25:12 -0500
committerTom Rini <trini@konsulko.com>2022-12-07 16:04:17 -0500
commitb669c54bfdf06648b66679468cd36ecb3ed2cb43 (patch)
treeee251a58597ae121fda90e4272e5636e8e1715bc /drivers/net/fec_mxc.h
parentecca44805d9a00e8e9ac6c14d9e7293565900981 (diff)
downloadu-boot-b669c54bfdf06648b66679468cd36ecb3ed2cb43.zip
u-boot-b669c54bfdf06648b66679468cd36ecb3ed2cb43.tar.gz
u-boot-b669c54bfdf06648b66679468cd36ecb3ed2cb43.tar.bz2
net: fec_mxc: Remove non-DM_ETH code
As DM_ETH is required for all network drivers, it's now safe to remove the non-DM_ETH support code. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/net/fec_mxc.h')
-rw-r--r--drivers/net/fec_mxc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/fec_mxc.h b/drivers/net/fec_mxc.h
index 48faa33..77bfc1c 100644
--- a/drivers/net/fec_mxc.h
+++ b/drivers/net/fec_mxc.h
@@ -263,9 +263,7 @@ struct fec_priv {
uint32_t reset_delay;
uint32_t reset_post_delay;
#endif
-#ifdef CONFIG_DM_ETH
u32 interface;
-#endif
struct clk ipg_clk;
struct clk ahb_clk;
struct clk clk_enet_out;