imx: imx8mp_evk: enable eth support
Add board code to configure the network interface Add net defconfig Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
@@ -44,6 +44,22 @@
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_CMD_NET)
|
||||
#define CONFIG_ETHPRIME "eth1" /* Set eqos to primary since we use its MDIO */
|
||||
|
||||
#define CONFIG_FEC_XCV_TYPE RGMII
|
||||
#define CONFIG_FEC_MXC_PHYADDR 1
|
||||
#define FEC_QUIRK_ENET_MAC
|
||||
|
||||
#define DWC_NET_PHYADDR 1
|
||||
#ifdef CONFIG_DWC_ETH_QOS
|
||||
#define CONFIG_SYS_NONCACHED_MEMORY (1 * SZ_1M) /* 1M */
|
||||
#endif
|
||||
|
||||
#define PHY_ANEG_TIMEOUT 20000
|
||||
|
||||
#endif
|
||||
|
||||
/* Initial environment variables */
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
"script=boot.scr\0" \
|
||||
|
Reference in New Issue
Block a user