Patchwork [U-Boot,4/4] edminiv2: add USB host support

login
register
mail settings
Submitter Albert ARIBAUD
Date Jan. 16, 2012, 8:08 a.m.
Message ID <1326701321-28185-5-git-send-email-albert.u.boot@aribaud.net>
Download mbox | patch
Permalink /patch/136255/
State Accepted
Commit 81a6c009fe4f457ba1f3eab4c7369fde27b2ba16
Delegated to: Albert ARIBAUD
Headers show

Comments

Albert ARIBAUD - Jan. 16, 2012, 8:08 a.m.
Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
---
 include/configs/edminiv2.h |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

Patch

diff --git a/include/configs/edminiv2.h b/include/configs/edminiv2.h
index 88d32b2..4162e8d 100644
--- a/include/configs/edminiv2.h
+++ b/include/configs/edminiv2.h
@@ -134,6 +134,7 @@ 
 #include <config_cmd_default.h>
 #define CONFIG_CMD_IDE
 #define CONFIG_CMD_I2C
+#define CONFIG_CMD_USB
 
 /*
  * Network
@@ -183,6 +184,19 @@ 
 #endif /* CMD_IDE */
 
 /*
+ * Common USB/EHCI configuration
+ */
+#ifdef CONFIG_CMD_USB
+#define CONFIG_USB_EHCI		/* Enable EHCI USB support */
+#define CONFIG_USB_EHCI_MARVELL
+#define ORION5X_USB20_HOST_PORT_BASE ORION5X_USB20_PORT0_BASE
+#define CONFIG_USB_STORAGE
+#define CONFIG_DOS_PARTITION
+#define CONFIG_ISO_PARTITION
+#define CONFIG_SUPPORT_VFAT
+#endif /* CONFIG_CMD_USB */
+
+/*
  * I2C related stuff
  */
 #ifdef CONFIG_CMD_I2C