]> git.dujemihanovic.xyz Git - u-boot.git/commit
fec_mxc: cleanup and factor out MX27 dependencies
authorJohn Rigby <jcrigby@gmail.com>
Tue, 26 Jan 2010 06:12:55 +0000 (23:12 -0700)
committerTom Rix <Tom.Rix@windriver.com>
Sun, 7 Mar 2010 18:36:36 +0000 (12:36 -0600)
commitcb17b92de03416cf4d5db5bd27ef4ae17f95e707
tree8227d1d7b65c3d90c9d6650aecf52184ad73a6b1
parent552ff8f1d9fccf57243a01afe6dbebb982867e20
fec_mxc: cleanup and factor out MX27 dependencies

general cleanup
move clock init to cpu_eth_init in cpu/arm926ejs/mx27/generic.c
make MX27 specific phy init conditional on CONFIG_MX27
replace call to imx_get_ahbclk with one to imx_get_fecclk
and define imx_get_fecclk in include/asm-arm/arch-mx27/clock.h

Signed-off-by: John Rigby <jcrigby@gmail.com>
CC: Ben Warren <biggerbadderben@gmail.com>
CC: Fred Fan <fanyefeng@gmail.com>
CC: Tom <Tom.Rix@windriver.com>
cpu/arm926ejs/mx27/generic.c
drivers/net/fec_mxc.c
include/asm-arm/arch-mx27/clock.h