From patchwork Tue Oct 21 11:36:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ramneek mehresh X-Patchwork-Id: 401448 X-Patchwork-Delegate: yorksun@freescale.com 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 5637A14008C for ; Tue, 21 Oct 2014 22:49:12 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 12EE1A73F9; Tue, 21 Oct 2014 13:49:11 +0200 (CEST) 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 wL5XdkCNMtmp; Tue, 21 Oct 2014 13:49:10 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0F531A73E7; Tue, 21 Oct 2014 13:49:10 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6128AA73E7 for ; Tue, 21 Oct 2014 13:49:06 +0200 (CEST) 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 rugmWavKLWGg for ; Tue, 21 Oct 2014 13:49:06 +0200 (CEST) X-Greylist: delayed 938 seconds by postgrey-1.32 at theia; Tue, 21 Oct 2014 13:49:02 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 na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0110.outbound.protection.outlook.com [157.56.111.110]) by theia.denx.de (Postfix) with ESMTPS id E4AEDA73E5 for ; Tue, 21 Oct 2014 13:49:02 +0200 (CEST) Received: from BY2PR03CA006.namprd03.prod.outlook.com (10.255.93.23) by BL2PR03MB164.namprd03.prod.outlook.com (10.255.230.148) with Microsoft SMTP Server (TLS) id 15.0.1054.13; Tue, 21 Oct 2014 11:33:22 +0000 Received: from BY2FFO11FD051.protection.gbl (10.255.93.4) by BY2PR03CA006.outlook.office365.com (10.255.93.23) with Microsoft SMTP Server (TLS) id 15.0.1054.13 via Frontend Transport; Tue, 21 Oct 2014 11:33:21 +0000 Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD051.mail.protection.outlook.com (10.1.15.188) with Microsoft SMTP Server (TLS) id 15.0.1049.20 via Frontend Transport; Tue, 21 Oct 2014 11:33:21 +0000 Received: from localhost.ap.freescale.net (udp166528uds.ap.freescale.net [10.232.132.230]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id s9LBXE7f007186; Tue, 21 Oct 2014 04:33:20 -0700 From: Ramneek Mehresh To: Date: Tue, 21 Oct 2014 17:06:45 +0530 Message-ID: <1413891405-24214-2-git-send-email-ramneek.mehresh@freescale.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1413891405-24214-1-git-send-email-ramneek.mehresh@freescale.com> References: <1413891405-24214-1-git-send-email-ramneek.mehresh@freescale.com> X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(189002)(199003)(92726001)(26826002)(97736003)(20776003)(47776003)(62966002)(84676001)(92566001)(104166001)(80022003)(76176999)(86362001)(85306004)(64706001)(110136001)(46102003)(93916002)(21056001)(50226001)(44976005)(19580395003)(6806004)(4396001)(19580405001)(102836001)(68736004)(33646002)(104016003)(88136002)(87936001)(85852003)(89996001)(87286001)(31966008)(120916001)(99396003)(50466002)(76506005)(76482002)(105606002)(50986999)(36756003)(48376002)(77156001)(106466001)(95666004)(2351001)(229853001)(107046002); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2PR03MB164; H:tx30smr01.am.freescale.net; FPR:; MLV:ovrnspm; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB164; X-Forefront-PRVS: 0371762FE7 Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=ramneek.mehresh@freescale.com; X-OriginatorOrg: freescale.com Cc: Ramneek Mehresh Subject: [U-Boot] [PATCH] ls1:config: Add XHCI support for ls1021aqds 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: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Add USB XHCI support for ls1021aqds platform and making this as default mode Signed-off-by: Ramneek Mehresh --- include/configs/ls1021aqds.h | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h index fd43a3e..c6f83b2 100644 --- a/include/configs/ls1021aqds.h +++ b/include/configs/ls1021aqds.h @@ -275,19 +275,30 @@ unsigned long get_board_ddr_clk(void); /* * USB */ -#define CONFIG_HAS_FSL_DR_USB +/*EHCI Support*/ +/*#define CONFIG_HAS_FSL_DR_USB*/ #ifdef CONFIG_HAS_FSL_DR_USB #define CONFIG_USB_EHCI +#define CONFIG_USB_EHCI_FSL +#define CONFIG_EHCI_HCD_INIT_AFTER_RESET +#endif -#ifdef CONFIG_USB_EHCI +/*XHCI Support*/ +#define CONFIG_HAS_FSL_XHCI_USB + +#ifdef CONFIG_HAS_FSL_XHCI_USB +#define CONFIG_USB_XHCI +#define CONFIG_USB_XHCI_FSL +#define CONFIG_USB_MAX_CONTROLLER_COUNT 1 +#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 1 +#endif + +#if defined(CONFIG_HAS_FSL_DR_USB) || defined(CONFIG_HAS_FSL_XHCI_USB) #define CONFIG_CMD_USB #define CONFIG_USB_STORAGE -#define CONFIG_USB_EHCI_FSL -#define CONFIG_EHCI_HCD_INIT_AFTER_RESET #define CONFIG_CMD_EXT2 #endif -#endif /* * eTSEC