From patchwork Mon Nov 16 11:19:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siva Durga Prasad Paladugu X-Patchwork-Id: 544972 X-Patchwork-Delegate: monstr@monstr.eu 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 A37FF140D97 for ; Mon, 16 Nov 2015 22:19:54 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2E30E4B66A; Mon, 16 Nov 2015 12:19:51 +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 XT95Vg1C2J8r; Mon, 16 Nov 2015 12:19:51 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 153584B668; Mon, 16 Nov 2015 12:19:48 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8250E4B64D for ; Mon, 16 Nov 2015 12:19:41 +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 qL7K3p8tG7I8 for ; Mon, 16 Nov 2015 12:19:41 +0100 (CET) X-Greylist: delayed 18240 seconds by postgrey-1.34 at theia; Mon, 16 Nov 2015 12:19:37 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 NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0070.outbound.protection.outlook.com [104.47.37.70]) by theia.denx.de (Postfix) with ESMTPS id 133A74B635 for ; Mon, 16 Nov 2015 12:19:37 +0100 (CET) Received: from CY1NAM02FT023.eop-nam02.prod.protection.outlook.com (10.152.74.51) by CY1NAM02HT215.eop-nam02.prod.protection.outlook.com (10.152.75.55) with Microsoft SMTP Server (TLS) id 15.1.331.11; Mon, 16 Nov 2015 11:19:34 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; denx.de; dkim=none (message not signed) header.d=none;denx.de; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Received: from xsj-pvapsmtpgw01 (149.199.60.83) by CY1NAM02FT023.mail.protection.outlook.com (10.152.74.237) with Microsoft SMTP Server (TLS) id 15.1.331.11 via Frontend Transport; Mon, 16 Nov 2015 11:19:33 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1ZyHor-0004bc-5B; Mon, 16 Nov 2015 03:19:33 -0800 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1ZyHor-0008RS-03; Mon, 16 Nov 2015 03:19:33 -0800 Received: from [172.23.146.171] (helo=xhdl3763.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1ZyHol-0008QR-St; Mon, 16 Nov 2015 03:19:28 -0800 Received: by xhdl3763.xilinx.com (Postfix, from userid 13899) id 1C42A2CE04EF; Mon, 16 Nov 2015 16:49:27 +0530 (IST) From: Siva Durga Prasad Paladugu To: Date: Mon, 16 Nov 2015 16:49:24 +0530 Message-ID: <1447672764-11005-2-git-send-email-sivadur@xilinx.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1447672764-11005-1-git-send-email-sivadur@xilinx.com> References: <1447672764-11005-1-git-send-email-sivadur@xilinx.com> X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-21944.006 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:149.199.60.83; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(438002)(199003)(189002)(107886002)(5008740100001)(5003940100001)(6806005)(2950100001)(19580405001)(50226001)(52956003)(19580395003)(47776003)(106466001)(36756003)(586003)(92566002)(4001430100002)(189998001)(81156007)(48376002)(5001960100002)(45336002)(50466002)(90966002)(86362001)(110136002)(5007970100001)(87936001)(46386002)(76176999)(11100500001)(42186005)(50986999)(63266004)(2351001)(36386004)(103686003)(229853001)(33646002)(107986001)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1NAM02HT215; H:xsj-pvapsmtpgw01; FPR:; SPF:Pass; PTR:unknown-60-83.xilinx.com; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501001); SRVR:CY1NAM02HT215; X-Microsoft-Antispam-PRVS: <495f80273a5d471e8613277110ae45b9@CY1NAM02HT215.eop-nam02.prod.protection.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(520078)(5005006)(10201501046)(3002001); SRVR:CY1NAM02HT215; BCL:0; PCL:0; RULEID:; SRVR:CY1NAM02HT215; X-Forefront-PRVS: 0762FFD075 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Nov 2015 11:19:33.6303 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.83]; Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1NAM02HT215 Cc: marex@denx.de, Siva Durga Prasad Paladugu Subject: [U-Boot] [PATCH v6 2/2] usb: zynqmp: Enable USB XHCI support X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Siva Durga Prasad Paladugu Enable USB XHCI support for ZynqMP Signed-off-by: Siva Durga Prasad Paladugu --- Changes for v6: - None Changes for v5: - None Changes for v4: - None Changes for v3: - Removed extra space between # and define as per review comment Changes for v2: - None --- include/configs/xilinx_zynqmp.h | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h index 1f17adb..3d388e2 100644 --- a/include/configs/xilinx_zynqmp.h +++ b/include/configs/xilinx_zynqmp.h @@ -114,6 +114,14 @@ #define CONFIG_SYS_LOAD_ADDR 0x8000000 #if defined(CONFIG_ZYNQMP_USB) +#define CONFIG_USB_XHCI_DWC3 +#define CONFIG_USB_XHCI +#define CONFIG_USB_MAX_CONTROLLER_COUNT 1 +#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2 +#define CONFIG_CMD_USB +#define CONFIG_USB_STORAGE +#define CONFIG_USB_XHCI_ZYNQMP + #define CONFIG_USB_DWC3 #define CONFIG_USB_DWC3_GADGET