From patchwork Wed Apr 8 19:54:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Harvey X-Patchwork-Id: 459453 X-Patchwork-Delegate: sbabic@denx.de 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 D02A814016A for ; Thu, 9 Apr 2015 05:56:48 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6F07EA7465; Wed, 8 Apr 2015 21:56:19 +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 I5XLI08hDF5R; Wed, 8 Apr 2015 21:56:19 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6213BA748D; Wed, 8 Apr 2015 21:55:42 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BF48DA744E for ; Wed, 8 Apr 2015 21:55:35 +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 Qtk4BVl4SSqm for ; Wed, 8 Apr 2015 21:55:35 +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-pa0-f46.google.com (mail-pa0-f46.google.com [209.85.220.46]) by theia.denx.de (Postfix) with ESMTPS id 29AB6A744B for ; Wed, 8 Apr 2015 21:55:21 +0200 (CEST) Received: by pabsx10 with SMTP id sx10so124693991pab.3 for ; Wed, 08 Apr 2015 12:55:20 -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=+bwHz7d+lSbOhOFLkEmOLxZIWWPn69PX+0VMKjypEuw=; b=clA+GlYPhWqLjCmMhVx31lJpc4VCmDHNLZ0wUs5hZG0WR8GmKKg1qs4uHETEoDPOsm TjZKxvQ0vRAF21o2b3/F9K3QGTCxwTzP/oPWbPZNgS0dCRaSqVsOeEE1QpSZ6adNxDnY WEY0WkFw6OSs1kBHLiYdfKfZzpWjTVDTkh8tKKQLpsVq6K1kLGHMzfqlSAYATLzvfDAj JPnwITV+oU7SF6Ns+dMucB7AiMM4MX7dEI8oY2o4VTYoyaqQjgc6ZJpNO9Zxf23IvzRp 9hRmpbiokAQGGzeraFVL2VGg++H3oPFfR3MVHkEOhPYLyDETxl1mWRuWtLLOTW8P2efV K6bg== X-Gm-Message-State: ALoCoQk4sXD/IocDwfIvUqvWGIAvWb1otLucOCen+OOHFeLBTXRlJm5AdqSZ3qVqMJeAuPYLbMu8 X-Received: by 10.67.14.73 with SMTP id fe9mr49582366pad.10.1428522920482; Wed, 08 Apr 2015 12:55:20 -0700 (PDT) Received: from tharvey.gw (68-189-91-139.static.snlo.ca.charter.com. [68.189.91.139]) by mx.google.com with ESMTPSA id u5sm12130208pdu.57.2015.04.08.12.55.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 08 Apr 2015 12:55:19 -0700 (PDT) From: Tim Harvey To: Stefano Babic Date: Wed, 8 Apr 2015 12:54:39 -0700 Message-Id: <1428522904-8111-10-git-send-email-tharvey@gateworks.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1428522904-8111-1-git-send-email-tharvey@gateworks.com> References: <1428522904-8111-1-git-send-email-tharvey@gateworks.com> Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH 09/34] imx: ventana: config: add USB Mass Storage (ums) 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: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Add support for the USB mass storage gadget to enable access to on-board storage. Example: Ventana > ums 0 mmc 0 # provide ums access to the uSD Ventana > ums 0 usb 0 # provide ums access to the first USB device Ventana > ums 0 sata 0 # provide ums access to an mSATA device Signed-off-by: Tim Harvey --- include/configs/gw_ventana.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h index 28c7815..3958ba7 100644 --- a/include/configs/gw_ventana.h +++ b/include/configs/gw_ventana.h @@ -203,6 +203,18 @@ #define CONFIG_NETCONSOLE #define CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP +/* USB Mass Storage Gadget */ +#define CONFIG_USB_GADGET +#define CONFIG_CMD_USB_MASS_STORAGE +#define CONFIG_USB_GADGET_MASS_STORAGE +#define CONFIG_USBDOWNLOAD_GADGET +#define CONFIG_USB_GADGET_VBUS_DRAW 2 + +/* Netchip IDs */ +#define CONFIG_G_DNL_VENDOR_NUM 0x0525 +#define CONFIG_G_DNL_PRODUCT_NUM 0xa4a5 +#define CONFIG_G_DNL_MANUFACTURER "Gateworks" + /* Framebuffer and LCD */ #define CONFIG_VIDEO #define CONFIG_VIDEO_IPUV3