From patchwork Thu Oct 10 22:27:58 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Troy Kisky X-Patchwork-Id: 282478 X-Patchwork-Delegate: marek.vasut@gmail.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 B7AB52C007A for ; Fri, 11 Oct 2013 09:28:40 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D39144A099; Fri, 11 Oct 2013 00:28:38 +0200 (CEST) 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 jOOCnfCwSKTl; Fri, 11 Oct 2013 00:28:38 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CAA864A098; Fri, 11 Oct 2013 00:28:29 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 23F824A098 for ; Fri, 11 Oct 2013 00:28:24 +0200 (CEST) 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 thICanwFebvw for ; Fri, 11 Oct 2013 00:28:18 +0200 (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 mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by theia.denx.de (Postfix) with ESMTPS id BF5B64A088 for ; Fri, 11 Oct 2013 00:28:10 +0200 (CEST) Received: by mail-pb0-f50.google.com with SMTP id uo5so3266712pbc.9 for ; Thu, 10 Oct 2013 15:28:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=b8gBGjiu58dUXYlMidutZnzgORjBRtMVnOJ1ulux7kA=; b=P33Ogf/GfwlIOomYHBF6IN9ocKPsgJdzLa6JBMgi3xTZYdCX/9STNMd5Hg6+AKVSgR MF8en/lP2kg21A+Hv+Ii7oA0BXfP+msb0CFnzHvALMNAsrLjgkLXuERu6wqewF5PyhWY VSM6ldTldByeHdVZZkJ7bG2Bi8ZXwvBtkNYTh9zfuMhvu00s9yUlIA2oj7roGDuvTmTT bYS0bZqQnZhzkGqVMSlOBnF6D9bKnpqGqqQoufOVlnlO9pN9fgZbNHQ/nuBRABKcIHi1 e7NtPlmXn4uhMzvbJpIresTFiqCa6jPgkuttZteOHhpTladjExZCPpwgXnR9olG9GFnU Z6Aw== X-Gm-Message-State: ALoCoQnd3Tj+fiEqk3JsI5LCLoDg9gbCv8P7T+VIkjdY7jKOs68T4Xr3bQq+T6TCBgbky5561PzQ X-Received: by 10.68.129.163 with SMTP id nx3mr16242299pbb.84.1381444088894; Thu, 10 Oct 2013 15:28:08 -0700 (PDT) Received: from officeserver-2 ([70.96.116.236]) by mx.google.com with ESMTPSA id gg10sm55422121pbc.46.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 10 Oct 2013 15:28:07 -0700 (PDT) Received: from tkisky by officeserver-2 with local (Exim 4.80) (envelope-from ) id 1VUOiY-0006Ks-H0; Thu, 10 Oct 2013 15:28:26 -0700 From: Troy Kisky To: marek.vasut@gmail.com Date: Thu, 10 Oct 2013 15:27:58 -0700 Message-Id: <1381444084-24296-5-git-send-email-troy.kisky@boundarydevices.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1381444084-24296-1-git-send-email-troy.kisky@boundarydevices.com> References: <1381444084-24296-1-git-send-email-troy.kisky@boundarydevices.com> Cc: leiwen@marvell.com, fabio.estevam@freescale.com, otavio@ossystems.com.br, u-boot@lists.denx.de Subject: [U-Boot] [PATCH V6 04/10] usb: gadget: mv_udc: don't check CONFIG_USB_MAX_CONTROLLER_COUNT 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 i.mx6 has 1 otg controller, and 3 host ports. So, CONFIG_USB_MAX_CONTROLLER_COUNT can be greater than 1 even though only 1 device mode controller is supported. Signed-off-by: Troy Kisky --- v4: new patch v5: no change v6: no change --- drivers/usb/gadget/mv_udc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/usb/gadget/mv_udc.c b/drivers/usb/gadget/mv_udc.c index 3ee53a5..13f2d6d 100644 --- a/drivers/usb/gadget/mv_udc.c +++ b/drivers/usb/gadget/mv_udc.c @@ -17,10 +17,6 @@ #include #include -#if CONFIG_USB_MAX_CONTROLLER_COUNT > 1 -#error This driver only supports one single controller. -#endif - /* * Check if the system has too long cachelines. If the cachelines are * longer then 128b, the driver will not be able flush/invalidate data