From patchwork Tue Sep 10 02:45:58 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: afzal mohammed X-Patchwork-Id: 273755 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 7B2C62C0120 for ; Tue, 10 Sep 2013 12:46:50 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 42F3F4A066; Tue, 10 Sep 2013 04:46:49 +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 QcY+8ihJM4+V; Tue, 10 Sep 2013 04:46:49 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3DA5C4A068; Tue, 10 Sep 2013 04:46:47 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C123E4A07F for ; Tue, 10 Sep 2013 04:46:40 +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 wzLOGeoSFBwD for ; Tue, 10 Sep 2013 04:46:31 +0200 (CEST) X-Greylist: delayed 139972 seconds by postgrey-1.27 at theia; Tue, 10 Sep 2013 04:46:25 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-pb0-f46.google.com (mail-pb0-f46.google.com [209.85.160.46]) by theia.denx.de (Postfix) with ESMTPS id 48C5E4A066 for ; Tue, 10 Sep 2013 04:46:25 +0200 (CEST) Received: by mail-pb0-f46.google.com with SMTP id rq2so6893267pbb.5 for ; Mon, 09 Sep 2013 19:46:23 -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=ENb4KYGCBPQZ7xmuecUDnXohKajUnBUkisQvbnFyb3c=; b=0rBvxbyVk7ja8kvmL3kCsF1zM2CmeRjO1tfNY/6RYTcFCwTOXpHBVMlei7AjxBQgre XP95Vin1NGXGlpl0G9aRWOhXp9Vcrvqwohqf1u0GlinSx6Jw4YWasbTEoyU4T42V7rc5 aTFGbtaTHyL3tkwNsv1HiW8oOnYNsY0IQwZfZZ6qukecJyAf40hZPrlUGYHPJHM8LNgY DqARsGDDn3i2QZbGEDhnCRBH3NmN/sCGY+XYfzhdJIpLSGZ91rAJwCLt/69NSLFLa5Jb sBJI0QI8+nX6D+BQCUJk8kBzB7SRkwUPb+ixwcILoGT2bGWGHQv62gEDCMwpSrqXee26 zruA== X-Received: by 10.66.216.162 with SMTP id or2mr573129pac.179.1378781183744; Mon, 09 Sep 2013 19:46:23 -0700 (PDT) Received: from localhost.localdomain ([27.57.152.201]) by mx.google.com with ESMTPSA id om2sm19507625pbc.30.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 09 Sep 2013 19:46:23 -0700 (PDT) From: Afzal Mohammed To: u-boot@lists.denx.de Date: Tue, 10 Sep 2013 08:15:58 +0530 Message-Id: <027ba9d93fdef47840f37e0f04ef4a6015878d2b.1378780517.git.afzal.mohd.ma@gmail.com> X-Mailer: git-send-email 1.8.2.135.g7b592fa In-Reply-To: References: Cc: Tom Rini , Pantelis Antoniou Subject: [U-Boot] [PATCH v2 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: Tom Rini Cc: Lukasz Majewski Cc: Pantelis Antoniou Reviewed-by: Lukasz Majewski --- 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 7969e07..0449a1f 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} " \ @@ -210,6 +211,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" /* NS16550 Configuration */ #define CONFIG_SYS_NS16550_COM1 0x44e09000 /* Base EVM has UART0 */