Commit 4fc2bd56 authored by Luo Ji's avatar Luo Ji

MA-11617 [Android Auto]Refine USB configs for imx8qm/imx8qxp

Remove some non-required USB configs to reduce the size of u-boot.

Change-Id: Ia27ccc11a119f287c406a6e255decda8e4c77150
Signed-off-by: default avatarLuo Ji <ji.luo@nxp.com>
parent 73984f1f
......@@ -18,9 +18,7 @@ CONFIG_DM_I2C=y
CONFIG_SYS_I2C_IMX_LPI2C=y
CONFIG_CMD_I2C=y
CONFIG_CMD_USB=y
CONFIG_USB=y
CONFIG_DM_USB=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_GADGET=y
......
......@@ -20,9 +20,7 @@ CONFIG_CMD_I2C=y
CONFIG_I2C_MUX=y
CONFIG_I2C_MUX_PCA954x=y
CONFIG_CMD_USB=y
CONFIG_USB=y
CONFIG_DM_USB=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_GADGET=y
......
......@@ -14,6 +14,13 @@
#define CONFIG_CMD_READ
#define CONFIG_USB_GADGET_VBUS_DRAW 2
/* USB OTG controller configs */
#ifdef CONFIG_USB_EHCI_HCD
#ifndef CONFIG_MXC_USB_PORTSC
#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
#endif
#endif
#define CONFIG_ENABLE_LOCKSTATUS_SUPPORT
#define CONFIG_ANDROID_AB_SUPPORT
#define CONFIG_AVB_SUPPORT
......
......@@ -14,6 +14,13 @@
#define CONFIG_CMD_READ
#define CONFIG_USB_GADGET_VBUS_DRAW 2
/* USB OTG controller configs */
#ifdef CONFIG_USB_EHCI_HCD
#ifndef CONFIG_MXC_USB_PORTSC
#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
#endif
#endif
#define CONFIG_ENABLE_LOCKSTATUS_SUPPORT
#define CONFIG_ANDROID_AB_SUPPORT
#define CONFIG_AVB_SUPPORT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment