From patchwork Thu Jul 9 11:34:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yegor Yefremov X-Patchwork-Id: 493380 X-Patchwork-Delegate: trini@ti.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 A5219140295 for ; Thu, 9 Jul 2015 21:34:51 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=googlemail.com header.i=@googlemail.com header.b=mNCFiWjJ; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0AAAA4B61D; Thu, 9 Jul 2015 13:34:47 +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 g-AQ7E4elOMK; Thu, 9 Jul 2015 13:34:47 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3E3B84B615; Thu, 9 Jul 2015 13:34:47 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 54A0E4B615 for ; Thu, 9 Jul 2015 13:34:44 +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 IrzS9yFNlmIo for ; Thu, 9 Jul 2015 13:34:44 +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-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by theia.denx.de (Postfix) with ESMTPS id 1C59F4A03A for ; Thu, 9 Jul 2015 13:34:41 +0200 (CEST) Received: by wiwl6 with SMTP id l6so15861121wiw.0 for ; Thu, 09 Jul 2015 04:34:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=HRabFYlmB4fh/b7SOPv8IZba68nNlnKICgg3P0LF/mo=; b=mNCFiWjJLagswJX43wqvc07mly38eWz7suycYeVDL/uTFfVpVrauxgWCI6+OpiYePs 1I2bmt/98iszkkLYfhSMlKemvQrk5yKcnsYUM+oqWMsl26Yeyyh4cJgz+QzQVUkTCl9e efo0xjUudeby5JE8jLdDhEd6H0/ei0eKv56B+QwfG0HfI/V64tj8FhpXWEzFhIVlU7IJ iQndEHdNSSJ5h/CcSWaoQ/VJIaNo1tvkpCQOqREWpRFhyTWRXlusGTMkAtY7QVt1lBcs HuW2BaFPkoiRVgaIpTjqA3OKqcS8q45MEjPS6/UPZ51HRSwEApLSdu3MuT3TUYBKjxT4 FHeA== X-Received: by 10.180.79.227 with SMTP id m3mr27377525wix.72.1436441680713; Thu, 09 Jul 2015 04:34:40 -0700 (PDT) Received: from user-SATELLITE-L50-B.localdomain (x2f157aa.dyn.telefonica.de. [2.241.87.170]) by smtp.gmail.com with ESMTPSA id di7sm7786002wib.23.2015.07.09.04.34.39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Jul 2015 04:34:39 -0700 (PDT) From: Yegor Yefremov To: u-boot@lists.denx.de Date: Thu, 9 Jul 2015 13:34:24 +0200 Message-Id: <1436441664-2982-1-git-send-email-yegorslists@googlemail.com> X-Mailer: git-send-email 2.1.0 Cc: trini@konsulko.com Subject: [U-Boot] [PATCH] arm: baltos: change USB ports functions 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: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Baltos has USB0 connected to a USB hub and thus is host-only. USB1 is connected to microUSB connector and thus should use OTG mode. Signed-off-by: Yegor Yefremov --- include/configs/baltos.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/baltos.h b/include/configs/baltos.h index fb7818a..cce5e4f 100644 --- a/include/configs/baltos.h +++ b/include/configs/baltos.h @@ -282,9 +282,9 @@ #define CONFIG_USB_GADGET_VBUS_DRAW 2 #define CONFIG_MUSB_HOST #define CONFIG_AM335X_USB0 -#define CONFIG_AM335X_USB0_MODE MUSB_PERIPHERAL +#define CONFIG_AM335X_USB0_MODE MUSB_HOST #define CONFIG_AM335X_USB1 -#define CONFIG_AM335X_USB1_MODE MUSB_HOST +#define CONFIG_AM335X_USB1_MODE MUSB_OTG #ifdef CONFIG_MUSB_HOST #define CONFIG_CMD_USB