From patchwork Tue Mar 24 22:34:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dileep Katta X-Patchwork-Id: 46295 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A024F2159D for ; Tue, 24 Mar 2015 22:35:38 +0000 (UTC) Received: by wibbs8 with SMTP id bs8sf1826736wib.3 for ; Tue, 24 Mar 2015 15:35:37 -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 :content-type:content-transfer-encoding:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list; bh=AmSbH1b/2wWO+PPQJmoEipQkUC3fqnOg2D/lY4RcG+M=; b=MJ5qbQj/ikqyCBeVP+nE1dWfjcvFiclenz8AAnaBfRHf2bcZVK+C1r+Iae4woiZJdv v1JcQ0fkp44vxmiF8picRKoE2/pb+hDABgD/Bqy81xICXCtbcClinMN1n8ZXhyemzL4m OiEyZJUdiD33VTVyxO3QGxR8qaytjHeoP4FOSsoCbHfs8gxqhe9i8C+B5UIjvbrZ0qQc tYXNBUwue+LxIEnXaTk8SSi6ul+xWdAFil1Iza9G9Wcoc17saI+JOeYQp92JNt8kA9jw r0PEFVFb8MyJlLh+VoD2TsvLk+fhqPg5XDIiIagQFEIGOgn7pv0rI/r1Wx3CKMuunW7f rHJA== X-Gm-Message-State: ALoCoQlc0c91AxWUjnhyKlkq6PCriI98/BzdV2Ih/DpMPMX86YvnPJ0dDP7jnkHenWZAw/LVUzO1 X-Received: by 10.180.101.39 with SMTP id fd7mr3604772wib.0.1427236537946; Tue, 24 Mar 2015 15:35:37 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.163.36 with SMTP id yf4ls27873lab.43.gmail; Tue, 24 Mar 2015 15:35:37 -0700 (PDT) X-Received: by 10.152.7.172 with SMTP id k12mr5788668laa.100.1427236537582; Tue, 24 Mar 2015 15:35:37 -0700 (PDT) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com. [209.85.215.47]) by mx.google.com with ESMTPS id ay11si468394lab.50.2015.03.24.15.35.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Mar 2015 15:35:37 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) client-ip=209.85.215.47; Received: by labe2 with SMTP id e2so5825304lab.3 for ; Tue, 24 Mar 2015 15:35:37 -0700 (PDT) X-Received: by 10.112.162.167 with SMTP id yb7mr5606988lbb.76.1427236537441; Tue, 24 Mar 2015 15:35:37 -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.112.57.201 with SMTP id k9csp1734058lbq; Tue, 24 Mar 2015 15:35:36 -0700 (PDT) X-Received: by 10.194.93.2 with SMTP id cq2mr12313325wjb.69.1427236536505; Tue, 24 Mar 2015 15:35:36 -0700 (PDT) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id b2si1770551wiy.18.2015.03.24.15.35.35; Tue, 24 Mar 2015 15:35:36 -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 B99C34A046; Tue, 24 Mar 2015 23:35:34 +0100 (CET) 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 DlNsto4WMMtf; Tue, 24 Mar 2015 23:35:34 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 976EB4A033; Tue, 24 Mar 2015 23:35:33 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CF3B44A033 for ; Tue, 24 Mar 2015 23:35:29 +0100 (CET) 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 pjkbec6OJSi8 for ; Tue, 24 Mar 2015 23:35:29 +0100 (CET) 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-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by theia.denx.de (Postfix) with ESMTPS id 52F054A02E for ; Tue, 24 Mar 2015 23:35:25 +0100 (CET) Received: by padcy3 with SMTP id cy3so7223966pad.3 for ; Tue, 24 Mar 2015 15:35:23 -0700 (PDT) X-Received: by 10.68.182.132 with SMTP id ee4mr11823734pbc.24.1427236523537; Tue, 24 Mar 2015 15:35:23 -0700 (PDT) Received: from localhost.localdomain ([106.51.139.45]) by mx.google.com with ESMTPSA id dr5sm353082pdb.48.2015.03.24.15.35.20 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 24 Mar 2015 15:35:22 -0700 (PDT) From: Dileep Katta To: nm@ti.com, trini@konsulko.com, rob.herring@linaro.org, srae@broadcom.com, l.majewski@samsung.com, angelabaker@ti.com, robherring2@gmail.com, u-boot@lists.denx.de Date: Wed, 25 Mar 2015 04:04:50 +0530 Message-Id: <1427236492-18032-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] [PATCH v3 1/3] ARM: DRA7XX: Enable Fastboot X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: 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" 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.215.47 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 - Fastboot is enable by default for DRA7XX - This is based on following patch modified accordingly http://git.omapzoom.org/?p=repo/u-boot.git;a=commit;h=b2e04f92b5d91c708b6fd6b79d2266966ac51f4b Signed-off-by: Angela Stegmaier Signed-off-by: Dileep Katta --- Changes in v2: - Merged the header file content to existing dra7xx_evm.h to avoid duplication - Removed unnecessary definitions as per comments Changes in v3: - Added the changes on dwc3_gadget developer branch of DFU tree - Added the changes as part of existing dra7xx_evm_defconfig - Enabled fastboot by default - Kept fastboot aware VID/PID only - reverted change made for U-Boot offset include/configs/dra7xx_evm.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h index e94b618..7acd907 100644 --- a/include/configs/dra7xx_evm.h +++ b/include/configs/dra7xx_evm.h @@ -84,6 +84,14 @@ DFU_ALT_INFO_EMMC \ DFU_ALT_INFO_RAM +/* 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 0x2F000000 +#define CONFIG_FASTBOOT_FLASH +#define CONFIG_FASTBOOT_FLASH_MMC_DEV 1 + #include /* Enhance our eMMC support / experience. */ @@ -181,8 +189,8 @@ #define CONFIG_USBDOWNLOAD_GADGET #define CONFIG_USB_GADGET_VBUS_DRAW 2 #define CONFIG_G_DNL_MANUFACTURER "Texas Instruments" -#define CONFIG_G_DNL_VENDOR_NUM 0x0403 -#define CONFIG_G_DNL_PRODUCT_NUM 0xBD00 +#define CONFIG_G_DNL_VENDOR_NUM 0x0451 +#define CONFIG_G_DNL_PRODUCT_NUM 0xd022 #define CONFIG_USB_GADGET_DUALSPEED /* USB Device Firmware Update support */