summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorBogdan Purcareata <[email protected]>2017-05-24 16:40:21 +0000
committerYork Sun <[email protected]>2017-06-01 19:55:50 -0700
commit33a8991a877847e39bc6b525f65664be026ba45b (patch)
treeceb4ebbbb827772bc9b5c7b332c000dc32a46a52 /include/configs
parent380e86f361e4e2aef83295972863654fde157560 (diff)
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 <[email protected]> Signed-off-by: Heinz Wrobel <[email protected]> Reviewed-by: York Sun <[email protected]>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/ls2080a_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/ls2080a_common.h b/include/configs/ls2080a_common.h
index b044768883f..3706b1a4c46 100644
--- a/include/configs/ls2080a_common.h
+++ b/include/configs/ls2080a_common.h
@@ -156,6 +156,11 @@ unsigned long long get_qixis_addr(void);
#define CONFIG_SYS_LS_MC_AIOP_IMG_MAX_LENGTH 0x200000
#define CONFIG_SYS_LS_MC_DRAM_AIOP_IMG_OFFSET 0x07000000
+/* Define phy_reset function to boot the MC based on mcinitcmd.
+ * This happens late enough to properly fixup u-boot env MAC addresses.
+ */
+#define CONFIG_RESET_PHY_R
+
/*
* Carve out a DDR region which will not be used by u-boot/Linux
*