From patchwork Mon Jan 28 20:01:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 216356 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 019CC2C009B for ; Tue, 29 Jan 2013 06:57:59 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 199DA4A148; Mon, 28 Jan 2013 20:57:56 +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 U8eda6R6vqLL; Mon, 28 Jan 2013 20:57:55 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AB67F4A149; Mon, 28 Jan 2013 20:57:47 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B4E364A13A for ; Mon, 28 Jan 2013 20:57:35 +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 Zg+KYy6XK5ad for ; Mon, 28 Jan 2013 20:57:34 +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-gh0-f171.google.com (mail-gh0-f171.google.com [209.85.160.171]) by theia.denx.de (Postfix) with ESMTPS id 525D24A12A for ; Mon, 28 Jan 2013 20:57:33 +0100 (CET) Received: by mail-gh0-f171.google.com with SMTP id r17so482968ghr.30 for ; Mon, 28 Jan 2013 11:57:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=l77NcPRwOUiUs9AOL6pJVVHv+yw5xHmRE/fKlta53jU=; b=n2dIlFtpSwBH2eol70+1N/7GVOnVopH7TYthPqhpMmnyxTnDQV4hvQvbFpyyIRmYFZ 9IDhKyBJK2Sr8UMChnl6yOdPPVbXKHg52MPdkBh+ffAEYzZ+8bhTieprDlGnbHWeumaX MmgZhUFB9LJVCAff5z4pOKqhpZWohe6T33MfHmih5nhvKGoMn3IOSkw0IHPx2R4HNiN0 U5jqKiS5bacNiI0DI6lyjeEMfB4kfC0FvlEoMh6Bq8o2njJSLeqd8nAHVzykAfoVnWLA scHWPiR7FpeT4+XOk2xJIiRtz2fpEmTOUJZTtG/hnb3inOTiHJoyZR6O2ls8/0WW4miC Ld5w== X-Received: by 10.236.160.70 with SMTP id t46mr16914446yhk.4.1359403051713; Mon, 28 Jan 2013 11:57:31 -0800 (PST) Received: from nano.lab.ossystems.com.br ([177.35.66.48]) by mx.google.com with ESMTPS id h4sm11086789yhi.18.2013.01.28.11.57.29 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Jan 2013 11:57:31 -0800 (PST) From: Otavio Salvador To: u-boot@lists.denx.de Date: Mon, 28 Jan 2013 18:01:45 -0200 Message-Id: <1359403306-18389-3-git-send-email-otavio@ossystems.com.br> X-Mailer: git-send-email 1.8.1 In-Reply-To: <1359403306-18389-1-git-send-email-otavio@ossystems.com.br> References: <1359403306-18389-1-git-send-email-otavio@ossystems.com.br> Cc: Fabio Estevam , Marek Vasut , Otavio Salvador Subject: [U-Boot] [PATCH v2 3/4] mx23_olinuxino: Enable USB support 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: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Signed-off-by: Otavio Salvador --- Changes in v2: None include/configs/mx23_olinuxino.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/configs/mx23_olinuxino.h b/include/configs/mx23_olinuxino.h index d019944..e081c49 100644 --- a/include/configs/mx23_olinuxino.h +++ b/include/configs/mx23_olinuxino.h @@ -60,6 +60,7 @@ #define CONFIG_CMD_GPIO #define CONFIG_CMD_LED #define CONFIG_CMD_MMC +#define CONFIG_CMD_USB /* * Memory configurations @@ -140,6 +141,15 @@ */ #define CONFIG_APBH_DMA +/* USB */ +#ifdef CONFIG_CMD_USB +#define CONFIG_USB_EHCI +#define CONFIG_USB_EHCI_MXS +#define CONFIG_EHCI_MXS_PORT 0 +#define CONFIG_EHCI_IS_TDI +#define CONFIG_USB_STORAGE +#endif + /* * Boot Linux */