From patchwork Mon Aug 11 01:59:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dileep Katta X-Patchwork-Id: 35194 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f70.google.com (mail-pa0-f70.google.com [209.85.220.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D2B1121457 for ; Mon, 11 Aug 2014 02:00:19 +0000 (UTC) Received: by mail-pa0-f70.google.com with SMTP id lf10sf57100401pab.9 for ; Sun, 10 Aug 2014 19:00:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:cc:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=wyaF6jrOBZLXfKWxgwnRmdW3nuMJmBaBIZ2B0Qx3VBc=; b=Oz/S/rtYIkfALYiWDCHGdGubxQ0aitRScP0DilVRJmS8WPlTRmsRcN5V7CJTO6eJIm PLhmVV2dF/ri1hin64vw3eK7dXVAU9r90MId2Yp0iEjhSAbkFoRuxJf7Drf8HQzjXgmv odzkCxBhb0nYpxwakAou3tSinCmwG5UMWuFi7NHui9sC98tvfwrU1YGoerVn/30RrPq3 Ia4bu2DgD+d3Bsjk7YRHi1a7b3cVNENj7Z1BlH5+xH5OgGbqoSBU94OiVpsBArlD0e/u aEtbRl92aDvp43/CLqDzapPYFZ7jqtPfQ1ezHsly3Fk1BJz4pdMnvY1d3/46yTsIn4ep 2tXw== X-Gm-Message-State: ALoCoQkrt0gYYbXKB/mLbd6JwnwB//OFfLTsykcL9du2ao6DSFGEAOD6uIcCEvtrpzj5lyyg3VZI X-Received: by 10.68.69.98 with SMTP id d2mr20210195pbu.0.1407722418525; Sun, 10 Aug 2014 19:00:18 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.96.202 with SMTP id k68ls961046qge.48.gmail; Sun, 10 Aug 2014 19:00:18 -0700 (PDT) X-Received: by 10.53.7.204 with SMTP id de12mr3502908vdd.41.1407722418394; Sun, 10 Aug 2014 19:00:18 -0700 (PDT) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by mx.google.com with ESMTPS id cl2si5789427vcb.98.2014.08.10.19.00.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 10 Aug 2014 19:00:18 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) client-ip=209.85.220.178; Received: by mail-vc0-f178.google.com with SMTP id la4so10997639vcb.9 for ; Sun, 10 Aug 2014 19:00:18 -0700 (PDT) X-Received: by 10.221.9.72 with SMTP id ov8mr34086068vcb.27.1407722418240; Sun, 10 Aug 2014 19:00:18 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp129524vcb; Sun, 10 Aug 2014 19:00:17 -0700 (PDT) X-Received: by 10.194.202.165 with SMTP id kj5mr51554371wjc.50.1407722416997; Sun, 10 Aug 2014 19:00:16 -0700 (PDT) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id es17si18885904wjc.94.2014.08.10.19.00.16 for ; Sun, 10 Aug 2014 19:00:16 -0700 (PDT) Received-SPF: none (google.com: u-boot-bounces@lists.denx.de does not designate permitted sender hosts) client-ip=85.214.87.163; Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4BEF84B576; Mon, 11 Aug 2014 04:00:16 +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 QiPnYxUD69Lh; Mon, 11 Aug 2014 04:00:16 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B0BEAA73EA; Mon, 11 Aug 2014 04:00:11 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E44F54B6F2 for ; Mon, 11 Aug 2014 04:00:06 +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 Cp07x8JHhUME for ; Mon, 11 Aug 2014 04:00:03 +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-f53.google.com (mail-pa0-f53.google.com [209.85.220.53]) by theia.denx.de (Postfix) with ESMTPS id 457D24B576 for ; Mon, 11 Aug 2014 03:59:58 +0200 (CEST) Received: by mail-pa0-f53.google.com with SMTP id rd3so10180065pab.40 for ; Sun, 10 Aug 2014 18:59:56 -0700 (PDT) X-Received: by 10.67.24.73 with SMTP id ig9mr35757756pad.67.1407722396523; Sun, 10 Aug 2014 18:59:56 -0700 (PDT) Received: from localhost.localdomain ([106.51.17.197]) by mx.google.com with ESMTPSA id b1sm51867140pat.45.2014.08.10.18.59.54 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 10 Aug 2014 18:59:55 -0700 (PDT) From: Dileep Katta To: u-boot@lists.denx.de Date: Mon, 11 Aug 2014 07:29:38 +0530 Message-Id: <1407722379-29184-1-git-send-email-dileep.katta@linaro.org> X-Mailer: git-send-email 1.8.3.2 Cc: Dileep Katta Subject: [U-Boot] [PATCH 1/2 v2] arm: BeagleBone Black: enable fastboot support X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: 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 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: dileep.katta@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Enable Android Fastboot support on am335x_evm board Signed-off-by: Dileep Katta --- Changes for v2: -None include/configs/am335x_evm.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 35ae0e6..3999405 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -291,6 +291,11 @@ #define CONFIG_AM335X_USB0_MODE MUSB_PERIPHERAL #define CONFIG_AM335X_USB1 #define CONFIG_AM335X_USB1_MODE MUSB_HOST +/* Fastboot */ +#define CONFIG_CMD_FASTBOOT +#define CONFIG_ANDROID_BOOT_IMAGE +#define CONFIG_USB_FASTBOOT_BUF_ADDR CONFIG_SYS_LOAD_ADDR +#define CONFIG_USB_FASTBOOT_BUF_SIZE 0x07000000 #ifdef CONFIG_MUSB_HOST #define CONFIG_CMD_USB @@ -303,8 +308,13 @@ #define CONFIG_USBNET_HOST_ADDR "de:ad:be:af:00:00" /* USB TI's IDs */ +#ifdef CONFIG_CMD_FASTBOOT +#define CONFIG_G_DNL_VENDOR_NUM 0x0451 +#define CONFIG_G_DNL_PRODUCT_NUM 0xd022 /* TI fastboot PID */ +#else #define CONFIG_G_DNL_VENDOR_NUM 0x0403 #define CONFIG_G_DNL_PRODUCT_NUM 0xBD00 +#endif #define CONFIG_G_DNL_MANUFACTURER "Texas Instruments" #endif /* CONFIG_MUSB_GADGET */