From patchwork Fri Apr 22 13:24:54 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Scharsig X-Patchwork-Id: 92533 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 573261007DC for ; Fri, 22 Apr 2011 23:24:41 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D00E328084; Fri, 22 Apr 2011 15:24:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Kq6D+WYOmtVx; Fri, 22 Apr 2011 15:24:39 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 74A4628085; Fri, 22 Apr 2011 15:24:38 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B9B6C28085 for ; Fri, 22 Apr 2011 15:24:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v2YAjXxeHbS5 for ; Fri, 22 Apr 2011 15:24:36 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from smtp-out-087.synserver.de (smtp-out-096.synserver.de [212.40.185.96]) by theia.denx.de (Postfix) with SMTP id 0698B28084 for ; Fri, 22 Apr 2011 15:24:34 +0200 (CEST) Received: (qmail 28953 invoked by uid 0); 22 Apr 2011 13:24:32 -0000 X-SynServer-TrustedSrc: 1 X-SynServer-AuthUser: postmaster@scharsoft.de X-SynServer-PPID: 28800 Received: from dslb-088-073-194-173.pools.arcor-ip.net (HELO ?10.0.0.1?) [88.73.194.173] by 217.119.54.77 with AES256-SHA encrypted SMTP; 22 Apr 2011 13:24:32 -0000 Message-ID: <4DB181A6.1030108@scharsoft.de> Date: Fri, 22 Apr 2011 15:24:54 +0200 From: Jens Scharsig User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Thunderbird/3.1.8 MIME-Version: 1.0 To: U-Boot List Cc: Jens Scharsig Subject: [U-Boot] [PATCH] eb_cpux9k2: add USB host support to board X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de * add USB host support to eb_cpux9k2 board Signed-off-by: Jens Scharsig --- include/configs/eb_cpux9k2.h | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/include/configs/eb_cpux9k2.h b/include/configs/eb_cpux9k2.h index 754fc8b..9d99f65 100644 --- a/include/configs/eb_cpux9k2.h +++ b/include/configs/eb_cpux9k2.h @@ -49,7 +49,6 @@ #define CONFIG_SYS_U_BOOT_BASE PHYS_FLASH_1 #define CONFIG_SYS_U_BOOT_SIZE 0x60000 /* 384 KBytes */ - #define CONFIG_BOOT_RETRY_TIME 30 #define CONFIG_CMDLINE_EDITING @@ -137,6 +136,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 @@ -168,6 +169,19 @@ * Hardware drivers */ +#define CONFIG_USB_ATMEL +#define CONFIG_USB_OHCI_NEW +#define CONFIG_USB_STORAGE +#define CONFIG_DOS_PARTITION +#define CONFIG_ISO_PARTITION +#define CONFIG_EFI_PARTITION + +#define CONFIG_AT91C_PQFP_UHPBUG +#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 */