From patchwork Sun Feb 12 15:38:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 140818 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 0E95AB6FA7 for ; Mon, 13 Feb 2012 02:39:37 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C298D280C7; Sun, 12 Feb 2012 16:39:26 +0100 (CET) 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 gEC6sV4NXd7X; Sun, 12 Feb 2012 16:39:26 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3F5CC280CC; Sun, 12 Feb 2012 16:39:10 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2C54C280C4 for ; Sun, 12 Feb 2012 16:39:08 +0100 (CET) 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 ykYYF9tb425V for ; Sun, 12 Feb 2012 16:39:07 +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-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.213.172]) by theia.denx.de (Postfix) with ESMTPS id 4AFE328087 for ; Sun, 12 Feb 2012 16:38:53 +0100 (CET) Received: by mail-yx0-f172.google.com with SMTP id m3so1991558yen.3 for ; Sun, 12 Feb 2012 07:38:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=rb7+LLUwQI63SnzmLQcIcgOsCY8mBX/jKSenNINfSQQ=; b=LokC36fRz9Szzh3nQmEAAqegi2V/sERisTRskzkCdEA0G0cVMa6xdo5iYQA3wZ7pZk 8le2G6s30BWO9aHt6pR2aqj4+gDj7VSojNErWUQbiAu1gapMgsto2aVnJMd4YwmhdT0b 7HDYIH/Cd6pbDRY10RXvAKQa3xZFmAYlYPgz8= Received: by 10.101.165.6 with SMTP id s6mr5148473ano.87.1329061132946; Sun, 12 Feb 2012 07:38:52 -0800 (PST) Received: from localhost.localdomain ([189.5.21.38]) by mx.google.com with ESMTPS id o50sm19726652yhl.9.2012.02.12.07.38.50 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 12 Feb 2012 07:38:52 -0800 (PST) From: Fabio Estevam To: u-boot@lists.denx.de Date: Sun, 12 Feb 2012 13:38:36 -0200 Message-Id: <1329061116-3471-5-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1329061116-3471-1-git-send-email-festevam@gmail.com> References: <1329061116-3471-1-git-send-email-festevam@gmail.com> Cc: Fabio Estevam Subject: [U-Boot] [PATCH 5/5] imx31_phycore: Provide proper range for memtest 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 memtest adresses should contain proper DRAM address range. Signed-off-by: Fabio Estevam --- include/configs/imx31_phycore.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/imx31_phycore.h b/include/configs/imx31_phycore.h index 3153eb5..f0766d4 100644 --- a/include/configs/imx31_phycore.h +++ b/include/configs/imx31_phycore.h @@ -134,8 +134,8 @@ /* Boot Argument Buffer Size */ #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE -#define CONFIG_SYS_MEMTEST_START 0 /* memtest works on */ -#define CONFIG_SYS_MEMTEST_END 0x10000 +#define CONFIG_SYS_MEMTEST_START (PHYS_SDRAM_1 + PHYS_SDRAM_1_SIZE/2) +#define CONFIG_SYS_MEMTEST_END (PHYS_SDRAM_1 + PHYS_SDRAM_1_SIZE) #define CONFIG_SYS_LOAD_ADDR 0 /* default load address */