From patchwork Fri Jan 7 15:53:51 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: seedshope X-Patchwork-Id: 77890 X-Patchwork-Delegate: albert.aribaud@free.fr 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 F367AB715A for ; Sat, 8 Jan 2011 02:54:32 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7E9B728089; Fri, 7 Jan 2011 16:54:28 +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 HBmliFKwvfGg; Fri, 7 Jan 2011 16:54:28 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7CADA28081; Fri, 7 Jan 2011 16:54:26 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3D25828081 for ; Fri, 7 Jan 2011 16:54:24 +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 f71PMv3FKXT8 for ; Fri, 7 Jan 2011 16:54:22 +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-pv0-f172.google.com (mail-pv0-f172.google.com [74.125.83.172]) by theia.denx.de (Postfix) with ESMTP id 0D3FD28080 for ; Fri, 7 Jan 2011 16:54:20 +0100 (CET) Received: by pvc21 with SMTP id 21so3126418pvc.3 for ; Fri, 07 Jan 2011 07:54:15 -0800 (PST) Received: by 10.142.163.10 with SMTP id l10mr1822327wfe.286.1294415655432; Fri, 07 Jan 2011 07:54:15 -0800 (PST) Received: from localhost.localdomain ([114.249.229.9]) by mx.google.com with ESMTPS id w22sm2822664wfd.7.2011.01.07.07.54.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 07 Jan 2011 07:54:15 -0800 (PST) From: seedshope To: u-boot@lists.denx.de Date: Fri, 7 Jan 2011 23:53:51 +0800 Message-Id: <1294415633-21029-1-git-send-email-bocui107@gmail.com> X-Mailer: git-send-email 1.7.1 Cc: seedshope Subject: [U-Boot] [PATCH 1/3] SMDK6400: Fix CONFIG_SYS_INIT_SP_ADDR undeclared 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 From: seedshope CONFIG_SYS_INIT_SP_ADDR point the last PHY of IRAM and substract the global size. Signed-off-by: seedshope diff --git a/include/configs/smdk6400.h b/include/configs/smdk6400.h index 671f2c7..037db4f 100644 --- a/include/configs/smdk6400.h +++ b/include/configs/smdk6400.h @@ -174,6 +174,11 @@ #define PHYS_SDRAM_1 CONFIG_SYS_SDRAM_BASE /* SDRAM Bank #1 */ #define PHYS_SDRAM_1_SIZE 0x08000000 /* 128 MB in Bank #1 */ +#define CONFIG_SYS_IRAM_BASE 0x0c000000 /* Internal SRAM base address */ +#define CONFIG_SYS_IRAM_SIZE 0x2000 /* 8 KB of internal SRAM memory */ +#define CONFIG_SYS_IRAM_END (CONFIG_SYS_IRAM_BASE + CONFIG_SYS_IRAM_SIZE) +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_IRAM_END - GENERATED_GBL_DATA_SIZE) + #define CONFIG_SYS_FLASH_BASE 0x10000000 #define CONFIG_SYS_MONITOR_BASE 0x00000000