From patchwork Thu Nov 18 07:45:25 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Weber X-Patchwork-Id: 72060 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 71BA6B7179 for ; Thu, 18 Nov 2010 18:47:14 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 82E952833B; Thu, 18 Nov 2010 08:47:11 +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 cI2rv0aEbPZg; Thu, 18 Nov 2010 08:47:11 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1359E28340; Thu, 18 Nov 2010 08:47:09 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7082828340 for ; Thu, 18 Nov 2010 08:47:07 +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 E3C4OutZne8Y for ; Thu, 18 Nov 2010 08:47:06 +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 moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by theia.denx.de (Postfix) with ESMTP id ACFA52833B for ; Thu, 18 Nov 2010 08:47:06 +0100 (CET) Received: from corscience.de (DSL01.212.114.252.242.ip-pool.NEFkom.net [212.114.252.242]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MOkOU-1PMpDw0W6Y-006Mvr; Thu, 18 Nov 2010 08:47:06 +0100 Received: from Lupus.CS.local (unknown [192.168.102.87]) by corscience.de (Postfix) with ESMTP id A46E252082; Thu, 18 Nov 2010 08:47:05 +0100 (CET) From: Thomas Weber To: u-boot@lists.denx.de Date: Thu, 18 Nov 2010 08:45:25 +0100 Message-Id: <1290066325-1612-1-git-send-email-weber@corscience.de> X-Mailer: git-send-email 1.7.3.2 X-Provags-ID: V02:K0:VrzaCyGFRnXYxM60BTDofeVeYls28yhdCbk3dhzzCHV DIDEnoCQ9+mbBFqS879EuycFl3YvtUXJ1simUs9+cXxGo7XidM 9QRVRxNnmdRBVH/iosexzbU5gmwnqCos7Ksh5nVM91RO6UFhsQ K/q2+kS4eeQ8xkWhaMHGV5XL2HC5EViMrDqTHjlRlojkAFX6l8 dj4jTQgG4qLAyGrpC/j9A== Cc: Thomas Weber Subject: [U-Boot] [PATCH] Devkit8000: Fix build after introduction of GENERATED_GBL_DATA_SIZE X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 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 This patch fixes the issue by defining and using CONFIG_SYS_INIT_RAM_SIZE and CONFIG_SYS_INIT_RAM_ADDR. This patch adopts the commit 31bfcf1c5776df3d90286aa15104c45096d53dc6 from Steve Sakoman and Sandeep Paulraj on Devkit8000. Signed-off-by: Thomas Weber --- include/configs/devkit8000.h | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h index fa7a6c7..d898b77 100644 --- a/include/configs/devkit8000.h +++ b/include/configs/devkit8000.h @@ -308,6 +308,10 @@ extern unsigned int boot_flash_type; #endif #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 -#define CONFIG_SYS_INIT_SP_ADDR (LOW_LEVEL_SRAM_STACK - CONFIG_SYS_GBL_DATA_SIZE) +#define CONFIG_SYS_INIT_RAM_ADDR 0x4020f800 +#define CONFIG_SYS_INIT_RAM_SIZE 0x800 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + \ + CONFIG_SYS_INIT_RAM_SIZE - \ + GENERATED_GBL_DATA_SIZE) #endif /* __CONFIG_H */