aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRajesh Bhagat2017-07-27 17:49:05 +0800
committerYork Sun2017-08-09 09:57:32 -0700
commita8ecb39e9e67ddf86cbf859175873684b8afc1d3 (patch)
treeb127eeef88d12f91c5179fbed532a476c1e05099 /include
parent590e87d1a67a36c6bc0d9a120fa4feac5be142e4 (diff)
config: ls1012aqds: Enable USB EHCI support for ls1012aqds
Signed-off-by: Rajat Srivastava <rajat.srivastava@nxp.com> Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com> Signed-off-by: yinbo.zhu <yinbo.zhu@nxp.com> [YS: Revise subject, remove commit message] Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ls1012aqds.h2
-rw-r--r--include/usb/ehci-ci.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/ls1012aqds.h b/include/configs/ls1012aqds.h
index bebb0dfce81..7120111dcc3 100644
--- a/include/configs/ls1012aqds.h
+++ b/include/configs/ls1012aqds.h
@@ -115,6 +115,8 @@
#ifdef CONFIG_HAS_FSL_DR_USB
#define CONFIG_USB_EHCI_FSL
+#define CONFIG_USB_ULPI
+#define CONFIG_USB_ULPI_VIEWPORT
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
#endif
diff --git a/include/usb/ehci-ci.h b/include/usb/ehci-ci.h
index 847b6989a01..cd3eb47da4a 100644
--- a/include/usb/ehci-ci.h
+++ b/include/usb/ehci-ci.h
@@ -156,7 +156,7 @@
#elif defined(CONFIG_MPC85xx)
#define CONFIG_SYS_FSL_USB1_ADDR CONFIG_SYS_MPC85xx_USB1_ADDR
#define CONFIG_SYS_FSL_USB2_ADDR CONFIG_SYS_MPC85xx_USB2_ADDR
-#elif defined(CONFIG_ARCH_LS1021A)
+#elif defined(CONFIG_LS102XA) || defined(CONFIG_ARCH_LS1012A)
#define CONFIG_SYS_FSL_USB1_ADDR CONFIG_SYS_EHCI_USB1_ADDR
#define CONFIG_SYS_FSL_USB2_ADDR 0
#endif