From patchwork Thu Sep 11 06:40:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dileep Katta X-Patchwork-Id: 37225 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f199.google.com (mail-ig0-f199.google.com [209.85.213.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 12AC020454 for ; Thu, 11 Sep 2014 06:42:16 +0000 (UTC) Received: by mail-ig0-f199.google.com with SMTP id l13sf12373823iga.2 for ; Wed, 10 Sep 2014 23:42:15 -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:in-reply-to :references: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=MJLiuEJYGytGbidjLfAMV1mDqV0VeRwFfCtB7JFqmC0=; b=LuUr30miIPqQbqVULyHLm81+k54A6TZxNWNzAqsUqyT2Ht9RBwSi8lUKXurYG3RBAY 10jjRjQ7J67Y1wgITIv24XzCBYw10TSEQKNSE2VNBnAiAY3AIniCX2Bq6cn4T7VAhfDY ww9KWqrm/1aiXZNq/2GdcslaGk9/DCOYUQR7VXKlaTANMaLvp42AeuyDPmcC2ujyvM2p 10WQn3uHmL+kGwk//tw+RCsy3KwC0JKFJuYnZNTZTtpWTVM+H9wZ4yJTrFS7BoThjy+b F5rNVMw8bSNWzO//L4Gh4m5AXvjcBQIxDOaOfRlyPQUprcPgj2fXPVOkR/ji6Q+HhbB0 HKVQ== X-Gm-Message-State: ALoCoQmbp9z/QPmWgpYmEkH7z+XyGgMHqQkjmxQ0D3eOu5+qpH0mYYutem/WopTp3aMiPNAvtZhh X-Received: by 10.42.119.82 with SMTP id a18mr28803240icr.19.1410417735656; Wed, 10 Sep 2014 23:42:15 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.19.108 with SMTP id 99ls57158qgg.29.gmail; Wed, 10 Sep 2014 23:42:15 -0700 (PDT) X-Received: by 10.221.64.205 with SMTP id xj13mr1200540vcb.18.1410417735575; Wed, 10 Sep 2014 23:42:15 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id d6si11223vdq.25.2014.09.10.23.42.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 10 Sep 2014 23:42:15 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id le20so5687053vcb.32 for ; Wed, 10 Sep 2014 23:42:15 -0700 (PDT) X-Received: by 10.52.245.101 with SMTP id xn5mr20728253vdc.32.1410417735479; Wed, 10 Sep 2014 23:42:15 -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.45.67 with SMTP id uj3csp544691vcb; Wed, 10 Sep 2014 23:42:14 -0700 (PDT) X-Received: by 10.180.21.199 with SMTP id x7mr42447815wie.73.1410417733994; Wed, 10 Sep 2014 23:42:13 -0700 (PDT) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id yn4si77651wjc.3.2014.09.10.23.42.13 for ; Wed, 10 Sep 2014 23:42:13 -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 ECD96A741B; Thu, 11 Sep 2014 08:42:12 +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 LYZOHrsA+U5z; Thu, 11 Sep 2014 08:42:12 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1DC8DA74AF; Thu, 11 Sep 2014 08:42:09 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6BD05A74AF for ; Thu, 11 Sep 2014 08:42: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 EkvpUiE0HvYB for ; Thu, 11 Sep 2014 08:42: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 BADC2A741B for ; Thu, 11 Sep 2014 08:41:57 +0200 (CEST) Received: by mail-pa0-f53.google.com with SMTP id rd3so8746658pab.40 for ; Wed, 10 Sep 2014 23:41:56 -0700 (PDT) X-Received: by 10.70.103.8 with SMTP id fs8mr27655711pdb.81.1410417716039; Wed, 10 Sep 2014 23:41:56 -0700 (PDT) Received: from localhost.localdomain ([106.51.29.15]) by mx.google.com with ESMTPSA id aa4sm105287pad.0.2014.09.10.23.41.54 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 10 Sep 2014 23:41:55 -0700 (PDT) From: Dileep Katta To: u-boot@lists.denx.de Date: Thu, 11 Sep 2014 12:10:49 +0530 Message-Id: <1410417650-16522-1-git-send-email-dileep.katta@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: References: Cc: Dileep Katta Subject: [U-Boot] [U-Boot, PATCH v3 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.173 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 in v2: -None Changes in v3: -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 */