From ab3e75aca829d5bfb998ce3434b419139b7ca7c8 Mon Sep 17 00:00:00 2001 From: Ye Li Date: Mon, 8 May 2017 03:05:09 -0500 Subject: MLK-14768 fec: Change CONFIG_ETHPRIME name to align with DM ETH The DM Ethernet driver requests the "ethprime" to align with DTB name or start with "eth" with seq number as index. So previous name "FEC" can't work as prime. Must change it to the "eth0" for first ethernet device, or "eth1" for second one. Signed-off-by: Ye Li --- include/configs/mx7d_12x12_lpddr3_arm2.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/configs/mx7d_12x12_lpddr3_arm2.h') diff --git a/include/configs/mx7d_12x12_lpddr3_arm2.h b/include/configs/mx7d_12x12_lpddr3_arm2.h index 305a50d..5e3adda 100644 --- a/include/configs/mx7d_12x12_lpddr3_arm2.h +++ b/include/configs/mx7d_12x12_lpddr3_arm2.h @@ -19,7 +19,11 @@ #define CONFIG_FEC_MXC #define CONFIG_MII #define CONFIG_FEC_XCV_TYPE RGMII +#ifdef CONFIG_DM_ETH +#define CONFIG_ETHPRIME "eth0" +#else #define CONFIG_ETHPRIME "FEC" +#endif #define CONFIG_FEC_MXC_PHYADDR 1 #define CONFIG_PHYLIB -- cgit v1.1