From patchwork Mon Nov 10 13:35:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Gmeiner X-Patchwork-Id: 408934 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 B541D14012C for ; Tue, 11 Nov 2014 00:36:09 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 633674B627; Mon, 10 Nov 2014 14:36:08 +0100 (CET) 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 eVhmmz-jRxqZ; Mon, 10 Nov 2014 14:36:08 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B50AA4B612; Mon, 10 Nov 2014 14:36:07 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A06304B609 for ; Mon, 10 Nov 2014 14:36:04 +0100 (CET) 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 Pnp9HzJZLmZy for ; Mon, 10 Nov 2014 14:36:04 +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 mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by theia.denx.de (Postfix) with ESMTPS id 7B1DD4B635 for ; Mon, 10 Nov 2014 14:35:59 +0100 (CET) Received: by mail-wi0-f180.google.com with SMTP id hi2so10661641wib.1 for ; Mon, 10 Nov 2014 05:35:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=ctgja18dGSTuk05tE/yv8sBMkHoZYa8ezIs8Rn5/cI8=; b=OFARmCSXb7ZnpXhoSQEuOidQJoEZpPN3OW/swqQxlup6Qzq57nKi17UyXkJJAXTj6Q Nh7RWObUqOkMVF6aGlGqNpALh8k76wUY0kBHfsBMTOIjFu96S1CQWDkIzPM6uhpeRykt 7FhKUB+KwN2JPr3HXjmPg0bH5PwVIrdW9mJmZNcfvI70Ade5o6CI25gEaef7zPz7nOTD CuLJVWWnYns8KmIIs05HbV8xy8nzECmKvbe7TWVHmr1zalHK+oNJYBm8LdKQ6GNzk+1u MXlmFzFUDE6pwL6tKJP6BEggfXDjOTo/CKzAGD46y4U6fH3LfsNAwYygtKn2r4Q1o2hO dA7w== X-Received: by 10.194.187.77 with SMTP id fq13mr44140164wjc.14.1415626557044; Mon, 10 Nov 2014 05:35:57 -0800 (PST) Received: from chgm-pc.bachmann.at.bachmann.at (089144222200.atnat0031.highway.bob.at. [89.144.222.200]) by mx.google.com with ESMTPSA id n4sm23212486wjb.40.2014.11.10.05.35.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Nov 2014 05:35:56 -0800 (PST) From: Christian Gmeiner To: u-boot@lists.denx.de Date: Mon, 10 Nov 2014 14:35:48 +0100 Message-Id: <1415626548-22883-1-git-send-email-christian.gmeiner@gmail.com> X-Mailer: git-send-email 1.9.3 Subject: [U-Boot] [PATCH] ot1200: add support for EHCI X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de U-Boot 2014.10-17457-g0b23780-dirty (Nov 10 2014 - 11:41:04) CPU: Freescale i.MX6D rev1.2 at 792 MHz Reset cause: WDOG Board: ot1200 I2C: ready DRAM: 1 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 SF: Detected M25P16 with page size 256 Bytes, erase size 64 KiB, total 2 MiB In: serial Out: serial Err: serial Net: using phy at 0 FEC [PRIME] Hit any key to stop autoboot: 0 => usb start (Re)start USB... USB0: Port not available. USB1: USB EHCI 1.00 scanning bus 1 for devices... 4 USB Device(s) found => usb tree USB device tree: 1 Hub (480 Mb/s, 0mA) | u-boot EHCI Host Controller | +-2 Hub (480 Mb/s, 2mA) | +-3 Mass Storage (480 Mb/s, 80mA) | USBest Technology USB Mass Storage Device 0000000000028B | +-4 Vendor specific (480 Mb/s, 2mA) => Signed-off-by: Christian Gmeiner --- include/configs/ot1200.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/configs/ot1200.h b/include/configs/ot1200.h index d7696bd..9512b1e 100644 --- a/include/configs/ot1200.h +++ b/include/configs/ot1200.h @@ -83,6 +83,13 @@ #define CONFIG_GENERIC_MMC #define CONFIG_BOUNCE_BUFFER +/* USB Configs */ +#define CONFIG_CMD_USB +#define CONFIG_USB_EHCI +#define CONFIG_USB_EHCI_MX6 +#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW) +#define CONFIG_USB_MAX_CONTROLLER_COUNT 2 + #ifdef CONFIG_MX6Q #define CONFIG_CMD_SATA #endif