From patchwork Sat Aug 2 18:30:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dileep Katta X-Patchwork-Id: 34747 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f198.google.com (mail-pd0-f198.google.com [209.85.192.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8AB2221F5F for ; Sat, 2 Aug 2014 18:43:56 +0000 (UTC) Received: by mail-pd0-f198.google.com with SMTP id fp1sf34399400pdb.9 for ; Sat, 02 Aug 2014 11:43:55 -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=bNlsG9ZQXrU2EC343ukvE4j5MaZTubIfe5D59JpwBF8=; b=dHN/530NwJOis1hengkVN/CwuEnYSYIyXIbHYVC+uDnzOdNF/B54AaV0b5g4ZwjhFv 66qpeq5nlERalTCX4qPy1cyjpywtDquibHiFi73uicOnnzAfKkigrzP6yXYUEpBUU+0k blg8LzkDFy4FcmJZ+waBTlxfwGf7tLpNy0xeCX/AdlGt6sDaYqSG/by9OPVWzdroyohX Lar6or+khKwId2iJreJFv1Rv3BexQbT22zpglMKxhC7QYWFei5Bv6CKdXYCPSFsnGSB4 sIE7k5I37311O4VI6ZsMu2B5YPs6f5+jiy+e2CMpQd5bTJ3/vJwJRYdn0ePIv1gVH/dF 7R3w== X-Gm-Message-State: ALoCoQnb+LPEFs7ZD+8Xm6ZjrBVq6iXvYl06vflKFv7a0DAsQieqDnb3kmyx+HcVPJ4H1ctlVtmr X-Received: by 10.66.235.66 with SMTP id uk2mr4909438pac.39.1407005035859; Sat, 02 Aug 2014 11:43:55 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.104.136 with SMTP id a8ls1734074qgf.2.gmail; Sat, 02 Aug 2014 11:43:55 -0700 (PDT) X-Received: by 10.53.7.204 with SMTP id de12mr12094797vdd.41.1407005035721; Sat, 02 Aug 2014 11:43:55 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id yd2si9872602vdb.91.2014.08.02.11.43.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 02 Aug 2014 11:43:55 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 as permitted sender) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id im17so8754140vcb.31 for ; Sat, 02 Aug 2014 11:43:55 -0700 (PDT) X-Received: by 10.52.136.196 with SMTP id qc4mr12163177vdb.22.1407005035346; Sat, 02 Aug 2014 11:43:55 -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 tc5csp193970vcb; Sat, 2 Aug 2014 11:43:54 -0700 (PDT) X-Received: by 10.180.94.234 with SMTP id df10mr17931465wib.76.1407005034274; Sat, 02 Aug 2014 11:43:54 -0700 (PDT) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id p4si13196689wib.92.2014.08.02.11.43.53 for ; Sat, 02 Aug 2014 11:43:54 -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 A67394A052; Sat, 2 Aug 2014 20:43:48 +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 dW7AWTYmRneK; Sat, 2 Aug 2014 20:43:48 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6A8134A049; Sat, 2 Aug 2014 20:43:37 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CFD244A039 for ; Sat, 2 Aug 2014 20:36:19 +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 b+8NuNK8wAZI for ; Sat, 2 Aug 2014 20:36:16 +0200 (CEST) X-Greylist: delayed 326 seconds by postgrey-1.27 at theia; Sat, 02 Aug 2014 20:36:12 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-pd0-f171.google.com (mail-pd0-f171.google.com [209.85.192.171]) by theia.denx.de (Postfix) with ESMTPS id 291C44A033 for ; Sat, 2 Aug 2014 20:36:11 +0200 (CEST) Received: by mail-pd0-f171.google.com with SMTP id z10so7327392pdj.16 for ; Sat, 02 Aug 2014 11:36:10 -0700 (PDT) X-Received: by 10.70.43.170 with SMTP id x10mr14310487pdl.9.1407004236149; Sat, 02 Aug 2014 11:30:36 -0700 (PDT) Received: from localhost.localdomain ([106.51.34.117]) by mx.google.com with ESMTPSA id gu4sm12444160pbb.54.2014.08.02.11.30.34 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 02 Aug 2014 11:30:35 -0700 (PDT) From: Dileep Katta To: u-boot@lists.denx.de Date: Sun, 3 Aug 2014 00:00:17 +0530 Message-Id: <1407004218-3676-1-git-send-email-dileep.katta@linaro.org> X-Mailer: git-send-email 1.8.3.2 X-Mailman-Approved-At: Sat, 02 Aug 2014 20:43:33 +0200 Cc: Dileep Katta Subject: [U-Boot] [PATCH 1/2] 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.172 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 --- 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 */