Re: [PATCH 1/4] usb: musb: musb on omap3 has 32 endpoints

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Felipe Balbi <felipe.balbi@xxxxxxxxx> [080613 13:05]:
> Fix hdrc_cnf.h for omap3 configuration.

Does this break the configuration for omap2?

We should set these dynamically if different for omap2 and omap3
so we can compile both into the same kernel.

Tony

> Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxx>
> ---
>  include/asm-arm/arch-omap/hdrc_cnf.h |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/include/asm-arm/arch-omap/hdrc_cnf.h b/include/asm-arm/arch-omap/hdrc_cnf.h
> index 74c8432..271214c 100644
> --- a/include/asm-arm/arch-omap/hdrc_cnf.h
> +++ b/include/asm-arm/arch-omap/hdrc_cnf.h
> @@ -14,11 +14,11 @@
>  
>  /* ** Number of Tx endpoints ** */
>  /* Legal values are 1 - 16 (this value includes EP0) */
> -#define MUSB_C_NUM_EPT 8
> +#define MUSB_C_NUM_EPT 16
>  
>  /* ** Number of Rx endpoints ** */
>  /* Legal values are 1 - 16 (this value includes EP0) */
> -#define MUSB_C_NUM_EPR 8
> +#define MUSB_C_NUM_EPR 16
>  
>  /* ** Endpoint 1 to 15 direction types ** */
>  /* C_EP1_DEF is defined if either Tx endpoint 1 or Rx endpoint 1 are used */
> @@ -163,7 +163,7 @@
>   * Legal values are 2 - 16
>   * This must be equal to the larger of C_NUM_EPT, C_NUM_EPR
>   */
> -#define MUSB_C_NUM_EPS 8
> +#define MUSB_C_NUM_EPS 16
>  
>  /* C_EPMAX_BITS is equal to the largest endpoint FIFO word address bits */
>  #define MUSB_C_EPMAX_BITS 12
> -- 
> 1.5.6.rc1
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux