summaryrefslogtreecommitdiff
path: root/drivers/net/dnet.c
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-09-16 01:13:47 +0200
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-30 22:01:01 +0200
commit9e27e9dca14a3bca74a5dcc87231769bc6a7117f (patch)
treef4fe8829171ff3c74cb0b5e95fb9c2f35a3bf376 /drivers/net/dnet.c
parentd133b881b9ed24c416cd1f2d7c147eb42e7956cd (diff)
downloadu-boot-imx-9e27e9dca14a3bca74a5dcc87231769bc6a7117f.zip
u-boot-imx-9e27e9dca14a3bca74a5dcc87231769bc6a7117f.tar.gz
u-boot-imx-9e27e9dca14a3bca74a5dcc87231769bc6a7117f.tar.bz2
FEC: Allow multiple FECes
This patch allows user to register multiple FEC controllers. To preserve compatibility with older boards, the mxcfec_register() call is still in place. To use multiple controllers, new macro is in place, the mxcfec_register_multi(), which takes more arguments. The syntax is: mxcfec_register_multi(bd, FEC ID, FEC PHY ID on the MII bus, base address); To disable the fecmxc_register() compatibility stuff, define the macro CONFIG_FEC_MXC_MULTI. This will remove the requirement for defining IMX_FEC_BASE and CONFIG_FEC_MXC_PHYADDR. Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Ben Warren <biggerbadderben@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Detlev Zundel <dzu@denx.de>
Diffstat (limited to 'drivers/net/dnet.c')
0 files changed, 0 insertions, 0 deletions