From patchwork Fri Sep 13 17:01:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: afzal mohammed X-Patchwork-Id: 274813 X-Patchwork-Delegate: marek.vasut@gmail.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 C85E22C010B for ; Sat, 14 Sep 2013 03:02:18 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 924AE4A023; Fri, 13 Sep 2013 19:02:17 +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 aMwaJ4248-bQ; Fri, 13 Sep 2013 19:02:17 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B47D34A05F; Fri, 13 Sep 2013 19:02:15 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 48A574A061 for ; Fri, 13 Sep 2013 19:02:09 +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 lrAB9VjLniF2 for ; Fri, 13 Sep 2013 19:02:04 +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 3A1224A080 for ; Fri, 13 Sep 2013 19:01:52 +0200 (CEST) Received: by mail-pa0-f53.google.com with SMTP id lb1so2774485pab.12 for ; Fri, 13 Sep 2013 10:01:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8BHYmHa/p0R1Wqmytptgh6z498nzy86x6Iz4e555Hl4=; b=PJF0xLSsla4JXd+Es8nb7jUJX2q+1zUovMKhX5RHfUi8FqbQlgPmVs+9vMkHnvrV+G CJrbCz96CSbIJpEMufkoVdyb4D2rNhPwBq3me/BGeJXcPY23WTcqVxNjU6UZLJxk5BZB kExhwTjyv+9VolTtG0mpKYrDsUYpREjbkkW1qx99aC1MlYbA3lFyjMvasWdWSWrT+7yZ rxD/oeIim0DkvzDG7r8u3f+nwcjR6MPnvjlk5ts3hGImeBKbK0aSl84ftHDOMiRJ/ofO MiJLemiAI6ZpNjEDycIZ0rZh0VWciWv1PIX7vKW3wYn0Uz7l74wIlvvjS789C2Fpna3h rW5w== X-Received: by 10.66.248.161 with SMTP id yn1mr16781701pac.0.1379091710647; Fri, 13 Sep 2013 10:01:50 -0700 (PDT) Received: from localhost.localdomain ([112.79.42.73]) by mx.google.com with ESMTPSA id hx1sm12882355pbb.35.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Sep 2013 10:01:49 -0700 (PDT) From: Afzal Mohammed To: u-boot@lists.denx.de Date: Fri, 13 Sep 2013 22:31:31 +0530 Message-Id: <91927edb59bc836abd7752ee7c429b0a25aa9841.1379090444.git.afzal.mohd.ma@gmail.com> X-Mailer: git-send-email 1.8.2.135.g7b592fa In-Reply-To: References: Cc: Tom Rini , Marek Vasut , Pantelis Antoniou Subject: [U-Boot] [PATCH v4 3/3] am335x_evm: enable DFU RAM X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion 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 Enable DFU for RAM, provide example dfu_alt_info Signed-off-by: Afzal Mohammed Cc: Heiko Schocher Cc: Tom Rini Cc: Marek Vasut Cc: Lukasz Majewski Cc: Pantelis Antoniou Reviewed-by: Lukasz Majewski --- v3: collected tag v2: new include/configs/am335x_evm.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 3de30fc..978fdf9 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -100,6 +100,7 @@ "loadbootenv=load mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \ "importbootenv=echo Importing environment from mmc ...; " \ "env import -t $loadaddr $filesize\0" \ + "dfu_alt_info_ram=" DFU_ALT_INFO_RAM "\0" \ "ramargs=setenv bootargs console=${console} " \ "${optargs} " \ "root=${ramroot} " \ @@ -321,6 +322,11 @@ "kernel part 0 8;" \ "rootfs part 0 9" #endif +#define CONFIG_DFU_RAM +#define DFU_ALT_INFO_RAM \ + "kernel ram 0x80200000 0xD80000;" \ + "fdt ram 0x80F80000 0x80000;" \ + "ramdisk ram 0x81000000 0x4000000" /* * Default to using SPI for environment, etc.