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 /board | |
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 'board')
-rw-r--r-- | board/freescale/mx6ullevk/mx6ullevk.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/board/freescale/mx6ullevk/mx6ullevk.c b/board/freescale/mx6ullevk/mx6ullevk.c index 6f6c225337..8465262c8a 100644 --- a/board/freescale/mx6ullevk/mx6ullevk.c +++ b/board/freescale/mx6ullevk/mx6ullevk.c @@ -502,8 +502,10 @@ int board_late_init(void) else env_set("board_rev", "14X14"); - if (is_cpu_type(MXC_CPU_MX6ULZ)) + if (is_cpu_type(MXC_CPU_MX6ULZ)) { env_set("fdt_file", "imx6ulz-14x14-evk.dtb"); + env_set("usb_net_cmd", "usb start"); + } #endif #ifdef CONFIG_ENV_IS_IN_MMC |