net: imx: Add multi-FEC support for imx_get_mac_from_fuse
authorFabio Estevam <festevam@gmail.com>
Tue, 20 Dec 2011 05:46:31 +0000 (05:46 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 16 Jan 2012 07:40:09 +0000 (08:40 +0100)
commitbe252b654a018cd9f513b0f2a5da4855a209c40c
treed9314c6c7e5bc9e0c426f0996abc3cb2578d2d16
parent3c057897e9873fb95bfe6eae5e483d724670a288
net: imx: Add multi-FEC support for imx_get_mac_from_fuse

Add multi-FEC support for imx_get_mac_from_fuse by passing dev_id as a parameter.

This feature is important on mx28 SoC for example that has two FEC ports.

Cc: Ben Warren <biggerbadderben@gmail.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/arm1136/mx35/generic.c
arch/arm/cpu/arm926ejs/mx25/generic.c
arch/arm/cpu/arm926ejs/mx27/generic.c
arch/arm/cpu/armv7/mx6/soc.c
arch/arm/include/asm/arch-mx6/imx-regs.h
board/denx/m28evk/m28evk.c
drivers/net/fec_mxc.c
drivers/net/fec_mxc.h