]> git.sur5r.net Git - u-boot/commit
fec_mxc: cleanup and factor out imx27 dependencies
authorJohn Rigby <jcrigby@gmail.com>
Wed, 6 Jan 2010 05:34:14 +0000 (22:34 -0700)
committerWolfgang Denk <wd@denx.de>
Wed, 6 Jan 2010 16:17:10 +0000 (17:17 +0100)
commita32868d6bd8ec07c07deaa64d8232256995dbf42
tree5754b4ec9287a14831d80430507890f8d5b4ef25
parentd496c3e0ad77be0cd0993bfa7ecba752aa999e22
fec_mxc: cleanup and factor out imx27 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>
cpu/arm926ejs/mx27/generic.c
drivers/net/fec_mxc.c
include/asm-arm/arch-mx27/clock.h