]> git.ipfire.org Git - people/ms/u-boot.git/commit - include/configs/ls2080a_common.h
drivers: net: fsl-mc: Link MC boot to PHY_RESET_R
authorBogdan Purcareata <bogdan.purcareata@nxp.com>
Wed, 24 May 2017 16:40:21 +0000 (16:40 +0000)
committerYork Sun <york.sun@nxp.com>
Fri, 2 Jun 2017 02:55:50 +0000 (19:55 -0700)
commit33a8991a877847e39bc6b525f65664be026ba45b
treeceb4ebbbb827772bc9b5c7b332c000dc32a46a52
parent380e86f361e4e2aef83295972863654fde157560
drivers: net: fsl-mc: Link MC boot to PHY_RESET_R

DPAA2 platforms boot the Management Complex based on the u-boot env
variable "mcinitcmd". Instead of doing this step on each platform
individually, define a single mc_env_boot function in the MC driver,
since it's semantically tied to it.

Call the function in a per-board reset_phy hook, as it gets called at a
later moment, when all board PHY devices have been initialized.

Signed-off-by: Bogdan Purcareata <bogdan.purcareata@nxp.com>
Signed-off-by: Heinz Wrobel <heinz.wrobel@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
board/freescale/ls2080a/ls2080a.c
board/freescale/ls2080aqds/eth.c
board/freescale/ls2080ardb/eth_ls2080rdb.c
drivers/net/fsl-mc/mc.c
include/configs/ls2080a_common.h
include/fsl-mc/fsl_mc.h