[U-Boot] [PATCH RFC 6/6] configs: smdk5250: Enable using XHCI and EHCI together
Vivek Gautam
gautam.vivek at samsung.com
Wed Feb 18 11:41:39 CET 2015
With driver model now we can enable both EHCI and XHCI on
Exynos5250.
Signed-off-by: Vivek Gautam <gautam.vivek at samsung.com>
---
include/configs/exynos5-common.h | 3 +++
include/configs/exynos5250-common.h | 3 +++
include/configs/smdk5250.h | 2 ++
3 files changed, 8 insertions(+)
diff --git a/include/configs/exynos5-common.h b/include/configs/exynos5-common.h
index 0ba39a2..6f0e7f8 100644
--- a/include/configs/exynos5-common.h
+++ b/include/configs/exynos5-common.h
@@ -173,8 +173,11 @@
#define CONFIG_CMD_GPIO
+#define CONFIG_DM
+
/* USB */
#define CONFIG_CMD_USB
+#define CONFIG_DM_USB
#define CONFIG_USB_STORAGE
#define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 3
#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2
diff --git a/include/configs/exynos5250-common.h b/include/configs/exynos5250-common.h
index ae0e5ff..1843e25 100644
--- a/include/configs/exynos5250-common.h
+++ b/include/configs/exynos5250-common.h
@@ -41,6 +41,9 @@
/* I2C */
#define CONFIG_MAX_I2C_NUM 8
+/* USB */
+#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
+
/* Display */
#define CONFIG_LCD
#ifdef CONFIG_LCD
diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h
index 3b06d30..27ba454 100644
--- a/include/configs/smdk5250.h
+++ b/include/configs/smdk5250.h
@@ -24,6 +24,8 @@
#define CONFIG_BOARD_COMMON
#define CONFIG_ARCH_EARLY_INIT_R
+#define CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_EXYNOS
#define CONFIG_USB_XHCI
#define CONFIG_USB_XHCI_EXYNOS
--
1.7.10.4
More information about the U-Boot
mailing list