imx6x linux3.0.35修改otg为host
| 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); |
上一篇:imx6x移植i2c-tools下一篇:wifi名字带空格



