From patchwork Sun Feb 12 15:38:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 140817 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 058E6B6FA7 for ; Mon, 13 Feb 2012 02:39:27 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 92C27280AE; Sun, 12 Feb 2012 16:39:19 +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 MLmhUughOV7U; Sun, 12 Feb 2012 16:39:19 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CAEC3280C1; Sun, 12 Feb 2012 16:39:05 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5A195280A0 for ; Sun, 12 Feb 2012 16:39:02 +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 UurMECfcvQcq for ; Sun, 12 Feb 2012 16:39:01 +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 5550C28086 for ; Sun, 12 Feb 2012 16:38:50 +0100 (CET) Received: by mail-yx0-f172.google.com with SMTP id m3so1991558yen.3 for ; Sun, 12 Feb 2012 07:38:50 -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=wHWZR02qkV3xB/MWih1zcOJbFfDrZgNQ/H4P8c7QCtE=; b=EEP5YZQq1jpd2aP2CztwSi47mFekdRroqvM49y50Ceew044I3Ij7EKTLlhxa8r7+YZ rTSjo+rrUzsq671Sv+W/1e3grRwKBeqbnfMt+TfFMz20chwbQ6BDtp7M+rhfMNdttLTt 2pHIVeKsQtFyi34fLfPGV6vdZd3SYgxd0QXn8= Received: by 10.236.124.17 with SMTP id w17mr16259780yhh.26.1329061130592; Sun, 12 Feb 2012 07:38:50 -0800 (PST) Received: from localhost.localdomain ([189.5.21.38]) by mx.google.com with ESMTPS id o50sm19726652yhl.9.2012.02.12.07.38.48 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 12 Feb 2012 07:38:49 -0800 (PST) From: Fabio Estevam To: u-boot@lists.denx.de Date: Sun, 12 Feb 2012 13:38:35 -0200 Message-Id: <1329061116-3471-4-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 4/5] imx31_litekit: 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_litekit.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/imx31_litekit.h b/include/configs/imx31_litekit.h index bbcbce1..fcbd4a5 100644 --- a/include/configs/imx31_litekit.h +++ b/include/configs/imx31_litekit.h @@ -130,8 +130,8 @@ #define CONFIG_SYS_MAXARGS 16 /* max number of command args */ #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot Argument Buffer Size */ -#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 */