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

Wolfgang Denk wd at denx.de
Fri Jul 16 00:08:06 CEST 2010


Dear Vipin KUMAR,

In message <1279084204-3263-22-git-send-email-vipin.kumar at st.com> you wrote:
> 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 \
> -- 

NAK.

Please move to boards.cfg instead.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Never underestimate the power of human stupidity  when  it  comes  to
using technology they don't understand.


More information about the U-Boot mailing list