]> git.sur5r.net Git - u-boot/commit
net: tsec: Use priv->tbiaddr to initialize TBI PHY address
authorBin Meng <bmeng.cn@gmail.com>
Tue, 12 Jan 2016 06:41:25 +0000 (22:41 -0800)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 28 Jan 2016 18:23:19 +0000 (12:23 -0600)
commita1c76c150831168c09810006ede95b164fa292df
treea9cabc1f97c6d54026b61e76679d32f429153b82
parent9a1d6af55ecd73938d49076422e87da9f87fc68f
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 <bmeng.cn@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
doc/device-tree-bindings/net/fsl-tsec-phy.txt
drivers/net/tsec.c
include/tsec.h