From a1c76c150831168c09810006ede95b164fa292df Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Mon, 11 Jan 2016 22:41:25 -0800 Subject: net: tsec: Use priv->tbiaddr to initialize TBI PHY address Add a new member 'tbiaddr' to tsec_private struct. For non-DM driver, it is initialized as CONFIG_SYS_TBIPA_VALUE, but for DM driver, we can get this from device tree. Update the bindings doc as well. Signed-off-by: Bin Meng Acked-by: Joe Hershberger --- include/tsec.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/tsec.h b/include/tsec.h index 88ce964fd9..fb27edf225 100644 --- a/include/tsec.h +++ b/include/tsec.h @@ -402,6 +402,7 @@ struct tsec_private { 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 */ -- cgit v1.2.3