Patchwork [U-Boot,V2,ARM] eb_cpux9k2: add USB host support to board

login
register
mail settings
Submitter Jens Scharsig
Date July 10, 2011, 9:14 a.m.
Message ID <4E196D5D.4040104@scharsoft.de>
Download mbox | patch
Permalink /patch/104051/
State Superseded
Delegated to: Reinhard Meyer
Headers show

Comments

Jens Scharsig - July 10, 2011, 9:14 a.m.
* add USB host support to eb_cpux9k2 board

Signed-off-by: Jens Scharsig <js_at_ng@scharsoft.de>
---
  include/configs/eb_cpux9k2.h |   14 ++++++++++++++
  1 files changed, 14 insertions(+), 0 deletions(-)
Albert ARIBAUD - July 10, 2011, 12:37 p.m.
Hi Jens,

Le 10/07/2011 11:14, Jens Scharsig a écrit :
> * add USB host support to eb_cpux9k2 board
>
> Signed-off-by: Jens Scharsig <js_at_ng@scharsoft.de>
> ---
> include/configs/eb_cpux9k2.h | 14 ++++++++++++++
> 1 files changed, 14 insertions(+), 0 deletions(-)

This fails to apply properly on current u-boot/master or 
u-boot-arm/master or u-boot-atmel/master. Which repository/branch is it 
supposed to be applied to?

Amicalement,
Jens Scharsig - July 10, 2011, 4:21 p.m.
Am 2011-07-10 14:37, schrieb Albert ARIBAUD:
> Hi Jens,
> 
> Le 10/07/2011 11:14, Jens Scharsig a écrit :
>> * add USB host support to eb_cpux9k2 board
>>
>> Signed-off-by: Jens Scharsig <js_at_ng@scharsoft.de>
>> ---
>> include/configs/eb_cpux9k2.h | 14 ++++++++++++++
>> 1 files changed, 14 insertions(+), 0 deletions(-)
> 
> This fails to apply properly on current u-boot/master or
> u-boot-arm/master or u-boot-atmel/master. Which repository/branch is it
> supposed to be applied to?

I used u-boot-atmel/master as base to create this V2
> 
> Amicalement,

Regards

Jens

Patch

diff --git a/include/configs/eb_cpux9k2.h b/include/configs/eb_cpux9k2.h
index c4b1e65..b1fcec7 100644
--- a/include/configs/eb_cpux9k2.h
+++ b/include/configs/eb_cpux9k2.h
@@ -137,6 +137,8 @@ 
  #define CONFIG_CMD_PING
  #define CONFIG_I2C_CMD_NO_FLAT
  #define CONFIG_I2C_CMD_TREE
+#define CONFIG_CMD_USB
+#define CONFIG_CMD_FAT
  
  #define CONFIG_SYS_LONGHELP
  
@@ -167,6 +169,18 @@ 
  /*
   * Hardware drivers
   */
+#define CONFIG_USB_ATMEL
+#define CONFIG_USB_OHCI_NEW
+#define CONFIG_AT91C_PQFP_UHPBUG
+#define CONFIG_USB_STORAGE
+#define CONFIG_DOS_PARTITION
+#define CONFIG_ISO_PARTITION
+#define CONFIG_EFI_PARTITION
+
+#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS	1
+#define CONFIG_SYS_USB_OHCI_CPU_INIT
+#define CONFIG_SYS_USB_OHCI_REGS_BASE		0x00300000
+#define CONFIG_SYS_USB_OHCI_SLOT_NAME		"at91rm9200"
  
  /*
   * UART/CONSOLE