drivers: net: cpsw: add support to have phy address from cpsw platform data
authorMugunthan V N <mugunthanvnm@ti.com>
Tue, 18 Feb 2014 12:31:52 +0000 (07:31 -0500)
committerTom Rini <trini@ti.com>
Tue, 4 Mar 2014 14:41:53 +0000 (09:41 -0500)
commit9c653aad169ffdc9e18482970df9de1a29773034
tree1a443bf6aef9650a37429353a632563043aa1751
parenteeb72e67619b98d2502fe634a3a5d9953de92ad0
drivers: net: cpsw: add support to have phy address from cpsw platform data

Some platforms like AM437x have different EVMs with different phy addresses,
so this patch adds support for passing phy address via cpsw plaform data.
Also renamed phy_id to phy_addr so better understanding of the code.

Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
[trini: Update BuR am335x_igep0033 pcm051_rev3 pcm051_rev1 cm_t335
pengwyn boards]
Signed-off-by: Tom Rini <trini@ti.com>
24 files changed:
board/BuR/common/common.c
board/compulab/cm_t335/cm_t335.c
board/isee/igep0033/board.c
board/phytec/pcm051/board.c
board/siemens/dxr2/board.c
board/siemens/pxm2/board.c
board/siemens/rut/board.c
board/silica/pengwyn/board.c
board/ti/am335x/board.c
board/ti/dra7xx/evm.c
board/ti/ti814x/evm.c
drivers/net/cpsw.c
include/configs/am335x_evm.h
include/configs/am335x_igep0033.h
include/configs/bur_am335x_common.h
include/configs/cm_t335.h
include/configs/dra7xx_evm.h
include/configs/dxr2.h
include/configs/pcm051.h
include/configs/pengwyn.h
include/configs/pxm2.h
include/configs/rut.h
include/configs/ti814x_evm.h
include/cpsw.h