diff options
| author | Quentin Schulz <[email protected]> | 2026-05-07 12:37:10 +0200 |
|---|---|---|
| committer | Jerome Forissier <[email protected]> | 2026-06-03 16:55:55 +0200 |
| commit | 987b5eabc35f3924fd10c66bb1be64a60c6feb23 (patch) | |
| tree | cfcbc730c1db8dc9f24d93852c52acc932a039cb /include | |
| parent | 4cbd0faab82cf6477236205b5e0894be2110f723 (diff) | |
net: tsec: make tsec_private a private structure
Move the definition of tsec_private within the only file that makes use
of it.
This adds the benefit of include/tsec.h not referencing PKTBUFSRX (which
is set to CONFIG_SYS_RX_ETH_BUFFER, which we're trying to move to be
under CONFIG_NET dependency) anymore. Considering drivers/net/tsec.c is
only built if CONFIG_NET=y, this is fine.
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Quentin Schulz <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/tsec.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/tsec.h b/include/tsec.h index 153337837a9..f5ced38f3fc 100644 --- a/include/tsec.h +++ b/include/tsec.h @@ -350,23 +350,6 @@ struct tsec_data { u32 mdio_regs_off; }; -struct tsec_private { - struct txbd8 __iomem txbd[TX_BUF_CNT]; - struct rxbd8 __iomem rxbd[PKTBUFSRX]; - struct tsec __iomem *regs; - struct tsec_mii_mng __iomem *phyregs_sgmii; - struct phy_device *phydev; - phy_interface_t interface; - struct mii_dev *bus; - uint phyaddr; - uint tbiaddr; - char mii_devname[16]; - u32 flags; - uint rx_idx; /* index of the current RX buffer */ - uint tx_idx; /* index of the current TX buffer */ - struct udevice *dev; -}; - struct tsec_info_struct { struct tsec __iomem *regs; struct tsec_mii_mng __iomem *miiregs_sgmii; |
