From: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Date: Thu, 6 Nov 2014 06:42:25 +0000 (+0900)
Subject: arm: rmobile: gose: Add USB support
X-Git-Tag: v2015.01-rc2~76^2~17
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d3ee73fcd7029064946d07523ab64e58921f2f3a;p=oweals%2Fu-boot.git

arm: rmobile: gose: Add USB support

Gose board has two USB ports, and can use USB EHCI HCD driver of rmobile.
This adds driver settings in order to use this driver.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
---

diff --git a/include/configs/gose.h b/include/configs/gose.h
index 21e1d93373..5889f023f9 100644
--- a/include/configs/gose.h
+++ b/include/configs/gose.h
@@ -32,6 +32,7 @@
 #define CONFIG_CMD_NFS
 #define CONFIG_CMD_DHCP
 #define CONFIG_CMD_MII
+#define CONFIG_CMD_USB
 
 #if defined(CONFIG_RMOBILE_EXTRAM_BOOT)
 #define CONFIG_SYS_TEXT_BASE	0x70000000
@@ -166,4 +167,10 @@
 
 #define CONFIG_SYS_I2C_POWERIC_ADDR 0x58 /* da9063 */
 
+/* USB */
+#define CONFIG_USB_STORAGE
+#define CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_RMOBILE
+#define CONFIG_USB_MAX_CONTROLLER_COUNT	2
+
 #endif	/* __GOSE_H */