From patchwork Sat May 12 16:07:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 158756 X-Patchwork-Delegate: sbabic@denx.de 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 982D3B702D for ; Sun, 13 May 2012 02:07:50 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D7410281A3; Sat, 12 May 2012 18:07:48 +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 OGlED40GruVC; Sat, 12 May 2012 18:07:48 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 199422818F; Sat, 12 May 2012 18:07:47 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BE4A62818F for ; Sat, 12 May 2012 18:07:45 +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 Xh+PsPTsibc7 for ; Sat, 12 May 2012 18:07:45 +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-gg0-f172.google.com (mail-gg0-f172.google.com [209.85.161.172]) by theia.denx.de (Postfix) with ESMTPS id 188CA2818C for ; Sat, 12 May 2012 18:07:43 +0200 (CEST) Received: by ggnc4 with SMTP id c4so487882ggn.3 for ; Sat, 12 May 2012 09:07:42 -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:x-mailer; bh=KJC7i52LBL+54wrGfSYSi9ca5/uOi/6zYtz4UX3tM/I=; b=X5zI0vkLJ85ISyutkLL61NNjduBwS7QTsHhAK8wXReFqCq5DGb2sLrVxizmEoekqq7 Ozww/yc3PRqq+iJ841xIGHCfK5NNDOPj8wVTbLTiMI97SXHWJebA7mxLHDwFV7ynXvw7 2nDsCyINTLp/rS9zFwSNC7rvTkrZOhU1Ed3lOI1TP6XtCgpkJMaMNo97t2XXBwfuSeOQ hJmH7/dEScH+HDzIL3LE7lEW2veT8jVdCmDRd0bbnOY2eQF9WhhxC0C+h0OIR/ta094B 309z5pJBZdMTix07tG8sdGJ94xshxyZZi5qlBMA0IvraPMDsEXrO4jzlG5XdHh+LYVBb zbjQ== Received: by 10.236.186.74 with SMTP id v50mr2219348yhm.1.1336838862372; Sat, 12 May 2012 09:07:42 -0700 (PDT) Received: from localhost.localdomain ([189.101.178.179]) by mx.google.com with ESMTPS id q44sm58342569yhg.3.2012.05.12.09.07.40 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 12 May 2012 09:07:41 -0700 (PDT) From: Fabio Estevam To: u-boot@lists.denx.de Date: Sat, 12 May 2012 13:07:32 -0300 Message-Id: <1336838852-14235-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.1 Cc: marex@denx.de, Fabio Estevam Subject: [U-Boot] [PATCH] mx28evk: Scan only first 512 MB of DRAM to avoid memory wraparound 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 From: Fabio Estevam Scan only first 512 MB of DRAM to avoid memory wraparound. This fixes mx28evk boot and it follows the same idea of commit 19a2066b57 (M28: Scan only first 512 MB of DRAM to avoid memory wraparound) Signed-off-by: Fabio Estevam Acked-by: Marek Vasut --- include/configs/mx28evk.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h index 0c18e50..a4ea12d 100644 --- a/include/configs/mx28evk.h +++ b/include/configs/mx28evk.h @@ -75,7 +75,7 @@ */ #define CONFIG_NR_DRAM_BANKS 1 /* 1 bank of DRAM */ #define PHYS_SDRAM_1 0x40000000 /* Base address */ -#define PHYS_SDRAM_1_SIZE 0x40000000 /* Max 1 GB RAM */ +#define PHYS_SDRAM_1_SIZE 0x20000000 /* Max 512MB RAM */ #define CONFIG_STACKSIZE (128 * 1024) /* 128 KB stack */ #define CONFIG_SYS_MALLOC_LEN 0x00400000 /* 4 MB for malloc */ #define CONFIG_SYS_MEMTEST_START 0x40000000 /* Memtest start adr */