From patchwork Tue Jan 29 10:41:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 216497 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 6918A2C0093 for ; Tue, 29 Jan 2013 21:37:38 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B66884A159; Tue, 29 Jan 2013 11:37:34 +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 8eeeHrGAlxSD; Tue, 29 Jan 2013 11:37:33 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4C9304A11E; Tue, 29 Jan 2013 11:37:32 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 34F404A120 for ; Tue, 29 Jan 2013 11:37:19 +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 p8aPAiWuQEnl for ; Tue, 29 Jan 2013 11:37:17 +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-gg0-f174.google.com (mail-gg0-f174.google.com [209.85.161.174]) by theia.denx.de (Postfix) with ESMTPS id AA0524A0EF for ; Tue, 29 Jan 2013 11:37:13 +0100 (CET) Received: by mail-gg0-f174.google.com with SMTP id k5so18661ggd.5 for ; Tue, 29 Jan 2013 02:37:10 -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=iY7gUjoRfmVEvbI27gzJvsZ0rJWXu3cunZqlF7FdVVw=; b=BM1b8JUy4ALrAIxYw9cAMPDNyA0zrEYd7pV0qjvvrf4fiS1PCBXQRk9wfW5k29lyUO fRSO9uLYTT0EU0S2GmM7UVzyRJkQOG8P4TBNsblJ0KZvDGRBzAOV5by8FF9QDKflizRp FdmHihZd6rh56qYPnjsjSmq9B/+2e2PhI4HrrIcnkvBl20bqJhIdXcwYT27P6VUXnJhN YwPoDn+5pbyTsI1RZBuvB2IURdcV+pQyRlkFxkggxa5HN4RFGv/MVa+unUPILljg1MwR +WZJ1RYYLS2nd8kOHbHz32MoHVPYJHf5KrdeprgoE4NEAdczs8tzlygQzChecAF8f3cf p24Q== X-Received: by 10.236.142.101 with SMTP id h65mr416172yhj.95.1359455830579; Tue, 29 Jan 2013 02:37:10 -0800 (PST) Received: from nano.lab.ossystems.com.br ([177.35.66.48]) by mx.google.com with ESMTPS id j1sm2446650yhn.3.2013.01.29.02.37.08 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 29 Jan 2013 02:37:10 -0800 (PST) From: Otavio Salvador To: u-boot@lists.denx.de Date: Tue, 29 Jan 2013 08:41:25 -0200 Message-Id: <1359456087-25656-2-git-send-email-otavio@ossystems.com.br> X-Mailer: git-send-email 1.8.1 In-Reply-To: <1359456087-25656-1-git-send-email-otavio@ossystems.com.br> References: <1359456087-25656-1-git-send-email-otavio@ossystems.com.br> Cc: Fabio Estevam , Otavio Salvador Subject: [U-Boot] [PATCH v4 2/4] mx23evk: 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 This enabled USB support for the mx23evk board. Signed-off-by: Otavio Salvador --- Changes in v4: None Changes in v3: - Add a obvious commitlog; Changes in v2: None include/configs/mx23evk.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/configs/mx23evk.h b/include/configs/mx23evk.h index d206c95..99dfb8f 100644 --- a/include/configs/mx23evk.h +++ b/include/configs/mx23evk.h @@ -58,6 +58,7 @@ #define CONFIG_CMD_FAT #define CONFIG_CMD_GPIO #define CONFIG_CMD_MMC +#define CONFIG_CMD_USB #define CONFIG_CMD_BOOTZ /* Memory configurations */ @@ -122,6 +123,15 @@ #define CONFIG_MXS_MMC #endif +/* 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 */ #define CONFIG_CMDLINE_TAG #define CONFIG_SETUP_MEMORY_TAGS