• Marek Vasut's avatar
    FEC: Allow multiple FECes · 9e27e9dc
    Marek Vasut authored
    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: default avatarMarek 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>
    9e27e9dc
Name
Last commit
Last update
api Loading commit data...
arch Loading commit data...
board Loading commit data...
common Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib Loading commit data...
mmc_spl/board/samsung/smdkv310 Loading commit data...
nand_spl Loading commit data...
net Loading commit data...
onenand_ipl Loading commit data...
post Loading commit data...
spl Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
MAINTAINERS Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
README Loading commit data...
boards.cfg Loading commit data...
config.mk Loading commit data...
mkconfig Loading commit data...
rules.mk Loading commit data...
snapshot.commit Loading commit data...