From patchwork Sun Feb 12 15:38:34 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 140815 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 8C12CB6F9D for ; Mon, 13 Feb 2012 02:39:07 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id EE1AC280B2; Sun, 12 Feb 2012 16:39:04 +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 zz67I4VbSKBZ; Sun, 12 Feb 2012 16:39:04 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D4BFE280AA; Sun, 12 Feb 2012 16:38:52 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 34BDA28087 for ; Sun, 12 Feb 2012 16:38:49 +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 MdTqqYd3fjgz for ; Sun, 12 Feb 2012 16:38:48 +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 88B5128086 for ; Sun, 12 Feb 2012 16:38:48 +0100 (CET) Received: by mail-yx0-f172.google.com with SMTP id m3so1991558yen.3 for ; Sun, 12 Feb 2012 07:38:48 -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=hKjBkZqSjW10gWwDNpbgz/ssCvYolURWzAHA3k/TUn8=; b=KNfzHM1ir8P1yMZXsUuLfoXPlUTWUPRhe/4xj11S3NeLyqG66h1Bf4y6Z9/DGNaMJV 1/eWcIsgZKlNkLDaol8OecR5wQQMRGI6EN266d0vjpHUyoCSW/yHcm1q/ovwbiNJqz/j nDU+AFGdkYFooR58SVymDiR6IoWIxYvajjMSY= Received: by 10.236.170.130 with SMTP id p2mr16526771yhl.13.1329061128216; Sun, 12 Feb 2012 07:38:48 -0800 (PST) Received: from localhost.localdomain ([189.5.21.38]) by mx.google.com with ESMTPS id o50sm19726652yhl.9.2012.02.12.07.38.45 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 12 Feb 2012 07:38:47 -0800 (PST) From: Fabio Estevam To: u-boot@lists.denx.de Date: Sun, 12 Feb 2012 13:38:34 -0200 Message-Id: <1329061116-3471-3-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 3/5] flea3: 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/flea3.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/flea3.h b/include/configs/flea3.h index 649e272..748d2b4 100644 --- a/include/configs/flea3.h +++ b/include/configs/flea3.h @@ -140,8 +140,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) #undef CONFIG_SYS_CLKS_IN_HZ /* everything, incl board info, in Hz */