FEC: Abstract out register setup
authorMarek Vasut <marex@denx.de>
Tue, 1 May 2012 11:09:41 +0000 (11:09 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 15 May 2012 06:31:35 +0000 (08:31 +0200)
commita5990b267449882733f3bd3d13493e0a78bfdc75
tree17c18a7111729f4354385801766126ecb4ea3204
parentc4559daa9158367878ddb3e115d60d41e0322b1f
FEC: Abstract out register setup

Abstract out common register setup. This also configured r_cntrl
to correct value at registration time.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
drivers/net/fec_mxc.c