From patchwork Thu Jan 13 13:36:21 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: seedshope X-Patchwork-Id: 78753 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 2C697B70A3 for ; Fri, 14 Jan 2011 00:36:58 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3AFAF280A7; Thu, 13 Jan 2011 14:36:52 +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 gYKP8wWSN5Iw; Thu, 13 Jan 2011 14:36:52 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 88755280A9; Thu, 13 Jan 2011 14:36:44 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3D10A2809B for ; Thu, 13 Jan 2011 14:36:42 +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 fyMvstgYZpKu for ; Thu, 13 Jan 2011 14:36:39 +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-iw0-f172.google.com (mail-iw0-f172.google.com [209.85.214.172]) by theia.denx.de (Postfix) with ESMTPS id AB9D12809F for ; Thu, 13 Jan 2011 14:36:38 +0100 (CET) Received: by iwn40 with SMTP id 40so1549845iwn.3 for ; Thu, 13 Jan 2011 05:36:37 -0800 (PST) Received: by 10.231.176.75 with SMTP id bd11mr2391899ibb.49.1294925797193; Thu, 13 Jan 2011 05:36:37 -0800 (PST) Received: from localhost.localdomain ([114.249.232.233]) by mx.google.com with ESMTPS id d21sm60484ibg.15.2011.01.13.05.36.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 13 Jan 2011 05:36:36 -0800 (PST) From: seedshope To: Albert ARIBAUD , Minkyu Kang , Sergei Shtylyov , u-boot@lists.denx.de Date: Thu, 13 Jan 2011 21:36:21 +0800 Message-Id: <1294925784-5042-2-git-send-email-bocui107@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1294925784-5042-1-git-send-email-bocui107@gmail.com> References: <1294925784-5042-1-git-send-email-bocui107@gmail.com> Subject: [U-Boot] [v3 patch 1/4] SMDK6400: Fix CONFIG_SYS_INIT_SP_ADDR undefined 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 Fix CONFIG_SYS_INIT_SP_ADDR undefined issue. Signed-off-by: seedshope diff --git a/include/configs/smdk6400.h b/include/configs/smdk6400.h index 671f2c7..c9acf58 100644 --- a/include/configs/smdk6400.h +++ b/include/configs/smdk6400.h @@ -44,6 +44,11 @@ #define CONFIG_PERIPORT_BASE 0x70000000 #define CONFIG_PERIPORT_SIZE 0x13 +#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_SDRAM_BASE 0x50000000 /* input clock of PLL: SMDK6400 has 12MHz input clock */