Commit 4fc2bd56253f8cc0c10fe2cfadd40a14f136e467
1 parent
73984f1f8e
Exists in
smarc-imx_v2017.03_o8.1.0_1.3.0_8m
and in
1 other branch
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: Luo Ji <ji.luo@nxp.com>
Showing 4 changed files with 14 additions and 4 deletions Side-by-side Diff
configs/mx8qm_mek_androidauto_defconfig
configs/mx8qxp_mek_androidauto_defconfig
include/configs/imx8qm_mek_android_auto.h
... | ... | @@ -14,6 +14,13 @@ |
14 | 14 | #define CONFIG_CMD_READ |
15 | 15 | #define CONFIG_USB_GADGET_VBUS_DRAW 2 |
16 | 16 | |
17 | +/* USB OTG controller configs */ | |
18 | +#ifdef CONFIG_USB_EHCI_HCD | |
19 | +#ifndef CONFIG_MXC_USB_PORTSC | |
20 | +#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW) | |
21 | +#endif | |
22 | +#endif | |
23 | + | |
17 | 24 | #define CONFIG_ENABLE_LOCKSTATUS_SUPPORT |
18 | 25 | #define CONFIG_ANDROID_AB_SUPPORT |
19 | 26 | #define CONFIG_AVB_SUPPORT |
include/configs/imx8qxp_mek_android_auto.h
... | ... | @@ -14,6 +14,13 @@ |
14 | 14 | #define CONFIG_CMD_READ |
15 | 15 | #define CONFIG_USB_GADGET_VBUS_DRAW 2 |
16 | 16 | |
17 | +/* USB OTG controller configs */ | |
18 | +#ifdef CONFIG_USB_EHCI_HCD | |
19 | +#ifndef CONFIG_MXC_USB_PORTSC | |
20 | +#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW) | |
21 | +#endif | |
22 | +#endif | |
23 | + | |
17 | 24 | #define CONFIG_ENABLE_LOCKSTATUS_SUPPORT |
18 | 25 | #define CONFIG_ANDROID_AB_SUPPORT |
19 | 26 | #define CONFIG_AVB_SUPPORT |