summaryrefslogtreecommitdiffstats
path: root/include/configs/exynos5-common.h
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2014-12-29 22:17:10 +0100
committerMinkyu Kang <mk7.kang@samsung.com>2014-12-30 17:04:02 +0900
commit66223787869e2059560ac583431e9968ac4cf26f (patch)
tree4ced41810954785bb04a43f9c1d693863a05a74d /include/configs/exynos5-common.h
parentfb56435f504b401e3a4e66fc98098f1de447c789 (diff)
downloadblackbird-obmc-uboot-66223787869e2059560ac583431e9968ac4cf26f.tar.gz
blackbird-obmc-uboot-66223787869e2059560ac583431e9968ac4cf26f.zip
Exynos: Move down common USB configuration
USB is a pretty common feature on exynos 5 board, so it seems sensible to configure it directly from exynos5-common. As a side-effect this makes USB available from u-boot on exynos 5420 based boards. While there enable support for common USB ethernet cards to make it more likely the default config allows booting for network and enable XHCI on SMDK5420 which has it defined in the dts but not in its config. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include/configs/exynos5-common.h')
-rw-r--r--include/configs/exynos5-common.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/exynos5-common.h b/include/configs/exynos5-common.h
index 8f9b780003..ad63f3c549 100644
--- a/include/configs/exynos5-common.h
+++ b/include/configs/exynos5-common.h
@@ -174,6 +174,16 @@
#define CONFIG_CMD_GPIO
+/* USB */
+#define CONFIG_CMD_USB
+#define CONFIG_USB_STORAGE
+#define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 3
+#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2
+
+#define CONFIG_USB_HOST_ETHER
+#define CONFIG_USB_ETHER_ASIX
+#define CONFIG_USB_ETHER_SMSC95XX
+
/* USB boot mode */
#define CONFIG_USB_BOOTING
#define EXYNOS_COPY_USB_FNPTR_ADDR 0x02020070
OpenPOWER on IntegriCloud