[U-Boot] [PATCH 21/28] Enable high speed support for usb device framework and usbtty

Vipin KUMAR vipin.kumar at st.com
Wed Jul 14 07:09:57 CEST 2010


From: Vipin KUMAR <vipin.kumar at st.com>

This patch adds the support for high speed in usb device framework and usbtty
driver. This feature has been kept within a macro CONFIG_USBD_HS, so the board
configuration files have to define this macro to enable high speed support.

Along with that specific peripheral drivers also need to define a function to
let the framework know that the enumeration has happened at high speed.
This function prototype is "int is_usbd_high_speed(void)"

Signed-off-by: Vipin Kumar <vipin.kumar at st.com>
---
 Makefile |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index ffd4fc1..870207d 100644
--- a/Makefile
+++ b/Makefile
@@ -2090,22 +2090,26 @@ omap730p2_cs3boot_config :	unconfig
 spear300_config \
 spear300_nand_config \
 spear300_usbtty_config \
-spear300_usbtty_nand_config \
+spear300_usbtty_nand_config :	unconfig
+	@$(MKCONFIG) -n $@ -t $(@:_config=) spear3xx_evb arm arm926ejs spear300 spear spear
+
 spear310_config \
 spear310_nand_config \
 spear310_usbtty_config \
-spear310_usbtty_nand_config \
+spear310_usbtty_nand_config :	unconfig
+	@$(MKCONFIG) -n $@ -t $(@:_config=) spear3xx_evb arm arm926ejs spear310 spear spear
+
 spear320_config \
 spear320_nand_config \
 spear320_usbtty_config \
 spear320_usbtty_nand_config :	unconfig
-	@$(MKCONFIG) -n $@ -t $@ spear3xx_evb arm arm926ejs $(@:_config=) spear spear
+	@$(MKCONFIG) -n $@ -t $@ spear3xx_evb arm arm926ejs spear320 spear spear
 
 spear600_config \
 spear600_nand_config \
 spear600_usbtty_config \
 spear600_usbtty_nand_config :	unconfig
-	@$(MKCONFIG) -n $@ -t $@ spear6xx_evb arm arm926ejs $(@:_config=) spear spear
+	@$(MKCONFIG) -n $@ -t $@ spear6xx_evb arm arm926ejs spear600 spear spear
 
 spear1300_config \
 spear1300_nand_config \
-- 
1.6.0.2



More information about the U-Boot mailing list