From patchwork Tue Jan 22 09:11:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Behme Dirk (CM/ESO2)" X-Patchwork-Id: 214477 X-Patchwork-Delegate: sbabic@denx.de 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 268602C0082 for ; Tue, 22 Jan 2013 20:11:54 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D86E74A0B9; Tue, 22 Jan 2013 10:11:50 +0100 (CET) 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 bilFXCNIZ0MR; Tue, 22 Jan 2013 10:11:50 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 501464A0BA; Tue, 22 Jan 2013 10:11:49 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5352A4A0BA for ; Tue, 22 Jan 2013 10:11:46 +0100 (CET) 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 HA3RWdpqmEeE for ; Tue, 22 Jan 2013 10:11:44 +0100 (CET) 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 imta22.fe.bosch.de (imta22.fe.bosch.de [139.15.243.26]) by theia.denx.de (Postfix) with ESMTPS id A6AEE4A0B9 for ; Tue, 22 Jan 2013 10:11:43 +0100 (CET) Received: from smtp6-v.fe.bosch.de (imta23.fe.bosch.de [139.15.243.227]) by imta22.fe.bosch.de (Postfix) with ESMTP id 8BE6284095F for ; Tue, 22 Jan 2013 10:11:42 +0100 (CET) Received: from vsmta12.fe.internet.bosch.com (unknown [10.4.98.52]) by imta23.fe.bosch.de (Postfix) with ESMTP id 669D11580226 for ; Tue, 22 Jan 2013 10:11:40 +0100 (CET) Received: from localhost (vsgw4.fe.internet.bosch.com [10.4.98.12]) by vsmta12.fe.internet.bosch.com (Postfix) with SMTP id A08561AC0569 for ; Tue, 22 Jan 2013 10:11:09 +0100 (CET) Received: from SI-HUB1000.de.bosch.com (10.4.103.106) by fe-hub02.de.bosch.com (10.3.144.91) with Microsoft SMTP Server (TLS) id 8.3.279.5; Tue, 22 Jan 2013 10:11:24 +0100 Received: from hi-z5661.hi.de.bosch.com (10.34.218.13) by SI-HUB1000.de.bosch.com (10.4.103.106) with Microsoft SMTP Server id 14.2.318.4; Tue, 22 Jan 2013 10:11:24 +0100 Received: from localhost.localdomain (localhost [127.0.0.1]) by hi-z5661.hi.de.bosch.com (Postfix) with ESMTP id 19B6440B87; Tue, 22 Jan 2013 10:11:24 +0100 (CET) From: Dirk Behme To: , , Date: Tue, 22 Jan 2013 10:11:21 +0100 Message-ID: <1358845881-21155-1-git-send-email-dirk.behme@de.bosch.com> X-Mailer: git-send-email 1.7.0.4 MIME-Version: 1.0 Cc: Knut Wohlrab Subject: [U-Boot] [PATCH v2] mx6qsabreauto: enable USB host interface X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 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 From: Knut Wohlrab The USB host interface is routed to plug USB1/J30 on the mother board. Signed-off-by: Knut Wohlrab --- Changes in v2: - Don't add an empty board_ehci_hcd_init() to mx6qsabreauto.c. It's not needed because board_ehci_hcd_init() is declared as weak. include/configs/mx6qsabreauto.h | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/include/configs/mx6qsabreauto.h b/include/configs/mx6qsabreauto.h index f4a082a..f2ff3e1 100644 --- a/include/configs/mx6qsabreauto.h +++ b/include/configs/mx6qsabreauto.h @@ -19,6 +19,17 @@ #define CONFIG_MMCROOT "/dev/mmcblk0p2" #define PHYS_SDRAM_SIZE (2u * 1024 * 1024 * 1024) +/* USB Configs */ +#define CONFIG_CMD_USB +#define CONFIG_USB_EHCI +#define CONFIG_USB_EHCI_MX6 +#define CONFIG_USB_STORAGE +#define CONFIG_USB_HOST_ETHER +#define CONFIG_USB_ETHER_ASIX +#define CONFIG_MXC_USB_PORT 1 +#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW) +#define CONFIG_MXC_USB_FLAGS 0 + #include "mx6qsabre_common.h" #define CONFIG_SYS_FSL_USDHC_NUM 2