1.修改arch/arm/configs/imx6_c_defconfig CONFIG_USB_SUSPEND=n CONFIG_USB_OTG=n CONFIG_USB_EHCI_ARC_HSIC=y CONFIG_USB_GADGET=n 2.注释arch/arm/mach-mx6/board-mx6q_c_sabresd.c ret = gpio_request(SABRESD_USB_H1_PWR, "usb-h1-pwr"); if (ret) { pr_err("failed to get GPIO SABRESD_USB_H1_PWR: %d\n", ret); return; } gpio_direction_output(SABRESD_USB_H1_PWR, 0); mx6_set_otghost_vbus_func(imx6q_sabresd_usbotg_vbus); mx6_set_host1_vbus_func(imx6q_sabresd_host1_vbus); |
|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )
GMT+8, 2024-11-22 10:26
Powered by Discuz! X3.4
© 2001-2013 Comsenz Inc.