From patchwork Fri Sep 20 03:29:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Troy Kisky X-Patchwork-Id: 276198 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 3BE8A2C00E9 for ; Fri, 20 Sep 2013 13:37:03 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 052F74A15D; Fri, 20 Sep 2013 05:37:02 +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 G4XE6uzKhHTY; Fri, 20 Sep 2013 05:37:01 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C696A4A167; Fri, 20 Sep 2013 05:37:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3A2A44A171 for ; Fri, 20 Sep 2013 05:36:54 +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 oBBRqiamM23K for ; Fri, 20 Sep 2013 05:36:49 +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-f52.google.com (mail-pb0-f52.google.com [209.85.160.52]) by theia.denx.de (Postfix) with ESMTPS id 2E5864A15D for ; Fri, 20 Sep 2013 05:36:43 +0200 (CEST) Received: by mail-pb0-f52.google.com with SMTP id wz12so9121123pbc.25 for ; Thu, 19 Sep 2013 20:36:36 -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=zceRO6dEZTk5YcZBI2KhO55QcKB2YP6sbyRYbu3b6WI=; b=jBvHTvoTVhGcVaewc47bwoMNDAXPWQRv7MrYedo8I98oxk6UAhzXYxXirOlsdidbIF 3A68Cb7epjEDb3mh2y3fMcG3a2qOOwcEW3hOUw3UbO5FinKAju/By9zwuNU0YSPQaPnB MhPB8NgzJ2YHXEjJu7wVjN13xltw8bCfYQg4WAGPW2hMkNYS4OWXbZvk18r04h56A8eJ T2Y3fH48A3hdeTYUOFlAMulNnkMLB7E7Pdw+0bukvCSCJsx9fwzdD9Nj8mT5Mv3K3bN6 i2w2TfZqXM4CeX7iReFEqoq4U/B032bXZqRfm/ar3xKGj1gZ4+VnVCNU02wcNoGC4AtK ifkg== X-Gm-Message-State: ALoCoQl//NO1WODt96NcXd6vORP/uKebVlj2VMhIdSW1Vy+mfSZr4v5ADIeSLc45jZx/XS0AeU77 X-Received: by 10.67.1.101 with SMTP id bf5mr6301791pad.50.1379647773395; Thu, 19 Sep 2013 20:29:33 -0700 (PDT) Received: from officeserver-2 ([70.96.116.236]) by mx.google.com with ESMTPSA id xn12sm15706935pac.12.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 19 Sep 2013 20:29:32 -0700 (PDT) Received: from tkisky by officeserver-2 with local (Exim 4.80) (envelope-from ) id 1VMrPd-0000hD-BE; Thu, 19 Sep 2013 20:29:45 -0700 From: Troy Kisky To: marek.vasut@gmail.com Date: Thu, 19 Sep 2013 20:29:24 -0700 Message-Id: <1379647780-2623-2-git-send-email-troy.kisky@boundarydevices.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1379647780-2623-1-git-send-email-troy.kisky@boundarydevices.com> References: <1379647780-2623-1-git-send-email-troy.kisky@boundarydevices.com> Cc: fabio.estevam@freescale.com, otavio@ossystems.com.br, leiwen@marvell.com, u-boot@lists.denx.de Subject: [U-Boot] [PATCH V4 01/17] 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 --- 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 7574e31..b87119c 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