From patchwork Fri Sep 9 16:10:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 668195 X-Patchwork-Delegate: twarren@nvidia.com 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 3sW67z3kj1z9s4n for ; Sat, 10 Sep 2016 05:04:31 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CFC5FA7578; Fri, 9 Sep 2016 21:04:07 +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 giRVwfJRiXYF; Fri, 9 Sep 2016 21:04:07 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 57EECA757B; Fri, 9 Sep 2016 21:03:50 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C383A4B71E for ; Fri, 9 Sep 2016 18:24:03 +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 3MSVoNGpb_9l for ; Fri, 9 Sep 2016 18:24: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 mout.perfora.net (mout.perfora.net [74.208.4.194]) by theia.denx.de (Postfix) with ESMTPS id 20A414B698 for ; Fri, 9 Sep 2016 18:23:59 +0200 (CEST) Received: from marcel-pc.toradex.int.net ([84.227.37.153]) by mrelay.perfora.net (mreueus003) with ESMTPA (Nemesis) id 0LnRJw-1b7NLQ2CUw-00hfmo; Fri, 09 Sep 2016 18:11:07 +0200 From: Marcel Ziswiler To: u-boot@lists.denx.de Date: Fri, 9 Sep 2016 18:10:41 +0200 Message-Id: <1473437441-938-6-git-send-email-marcel.ziswiler@toradex.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1473437441-938-1-git-send-email-marcel.ziswiler@toradex.com> References: <1473437441-938-1-git-send-email-marcel.ziswiler@toradex.com> X-Provags-ID: V03:K0:ajfK6AovdpE0A8vpM+Ig2/aLt1/FjRyuqtfKtMFZv7Ihxs2lM0F O2j6L1KelyQ70Vs+nJTMC3zSyz2PFPbdDID0QetN5Ro7wFms5rx1qVPLjiqMt3dzsBidJ0K ZsYq/62PfG/qSoYyO8G0WLK5ydSJHrN7iVxd7TQOIRNe7d02x4LqCtsLoc92QoR08/wSpbC Qgu+e0U27TOtBBxlGiR6A== X-UI-Out-Filterresults: notjunk:1; V01:K0:FXJxKQ7xq08=:mVvwn9dGdOSEeUqcFdAhfA oQFgAqYbhaHoK6Nl2h4V0csCqH/mQT47PDFo7LTKCTVlRZYAgViLcDdYi1rXAmhOmR1WLOfP4 iFuYpG3JPtPQDSclt4FvRm/8KQEq9NXpyAO/XF9MrPrh+OwQbWWzWblk6EWgJ3UAsjtxERBCx TGa3bAK7fs7RhqeRp9J6Fmqx9gVpW990wKlkCOONPXXitAtkfMhmKesEPvzs6j8Nq3wVm1Rk9 Ye0RIebkml57r7EN5HnNGzv6Yf2Mx/cZIgtmDHNj73ZCJ3vtDDPCOR3smJiOVHvy6KPsi6rL4 eS876H83FB0lqi0R03hguwD6be8cDUag2ueYmJdo7OTXLRIm1eBWJ6w0kbfo0FVph2cXpbuZ6 p6UlvmuSJvBK3OwQMDqgfHh/iOI8WleoYLF9wab+8VEo59ulEnYlCVz0BHJzLK2ol9k1F6QQc GRiYnFOwvZdtL3RTelgQbwE89aF0KSggQFWY5yktntH0OgFYDhFDof63HrZHAAreyuyz6pVBL mXpkAa3nANm2aAzA6wjR8y4NP/+w6FP4BERPPvwxT4S8aqoDp+rJy73Z2xnz0fBccjzpM9GlD 4KKiXuvC8//sbCR/G2IT4/z7GWa/DczTRmadmZ/dGMleFltAQ5oACsUqTplEF2MW9GigezlCq yAjEnAWv9VkWBwovjTYfJqaWfcu5iSyr0osibsXc5LjDVHDOB59J9VHcjYUzw1Osj0o4= X-Mailman-Approved-At: Fri, 09 Sep 2016 21:03:35 +0200 Cc: Marcel Ziswiler , Lucas Stach , Tom Warren Subject: [U-Boot] [PATCH v1 5/5] colibri_t20: enable dfu also for nand 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" Enable USB gadget DFU functionality for NAND as well. Signed-off-by: Marcel Ziswiler --- include/configs/colibri_t20.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/configs/colibri_t20.h b/include/configs/colibri_t20.h index c15f0cb..33e1ef5 100644 --- a/include/configs/colibri_t20.h +++ b/include/configs/colibri_t20.h @@ -31,6 +31,9 @@ #define CONFIG_GENERIC_MMC #define CONFIG_TEGRA_MMC +/* USB DFU */ +#define CONFIG_DFU_NAND + /* USB host support */ #define CONFIG_USB_EHCI #define CONFIG_USB_EHCI_TEGRA @@ -86,7 +89,10 @@ /* Miscellaneous commands */ #define CONFIG_FAT_WRITE +#define DFU_ALT_NAND_INFO "u-boot part 0,1;ubi part 0,4" + #define BOARD_EXTRA_ENV_SETTINGS \ + "dfu_alt_info=" DFU_ALT_NAND_INFO "\0" \ "mtdparts=" MTDPARTS_DEFAULT "\0" /* Increase console I/O buffer size */