diff options
author | Ye Li <ye.li@nxp.com> | 2018-09-19 18:39:30 -0700 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2018-09-20 02:35:57 -0700 |
commit | 9018cc2ba39d079625c6856347c787bb8642c270 (patch) | |
tree | 05df9bb43288a247a6225a8babdb9123974bed0f /include | |
parent | 4a5895bb208a51d505437dcbd7afdf81429cec9e (diff) |
MLK-19625 mx6ulz_evk: Disable the FEC driver and support USB2NET dongle
Since the mx6ulz don't have FEC, it needs to use USB2NET dongle
to connect network. We decouple the CONFIG_FEC_MXC with CONFIG_CMD_NET.
For 6ull, all defconfigs need to enable the CONFIG_FEC_MXC explicitly.
Another change is adding ${usb_net_cmd} environment for usb start command
in netboot scripts on 6ulz.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/mx6ullevk.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/configs/mx6ullevk.h b/include/configs/mx6ullevk.h index 9873c18573..d811c86ec6 100644 --- a/include/configs/mx6ullevk.h +++ b/include/configs/mx6ullevk.h @@ -168,6 +168,7 @@ "root=/dev/nfs " \ "ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0" \ "netboot=echo Booting from net ...; " \ + "${usb_net_cmd}; " \ "run netargs; " \ "if test ${ip_dyn} = yes; then " \ "setenv get_cmd dhcp; " \ @@ -298,9 +299,7 @@ #define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW) #endif -#ifdef CONFIG_CMD_NET -#define CONFIG_CMD_MII -#define CONFIG_FEC_MXC +#ifdef CONFIG_FEC_MXC #define CONFIG_MII #define CONFIG_FEC_ENET_DEV 1 |