From patchwork Sun May 1 10:10:30 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Grinberg X-Patchwork-Id: 93545 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 86E9A1007D1 for ; Sun, 1 May 2011 20:11:18 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5AEB7280B8; Sun, 1 May 2011 12:11:02 +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 S9rME0Ieb6Tm; Sun, 1 May 2011 12:11:02 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 94879280BC; Sun, 1 May 2011 12:10:53 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 353562809C for ; Sun, 1 May 2011 12:10: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 7Phvucyr1d+R for ; Sun, 1 May 2011 12:10:46 +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 softlayer.compulab.co.il (50.23.254.54-static.reverse.softlayer.com [50.23.254.54]) by theia.denx.de (Postfix) with ESMTPS id 0A7EE28099 for ; Sun, 1 May 2011 12:10:43 +0200 (CEST) Received: from [62.90.235.247] (port=35941 helo=zimbra-mta.compulab.co.il) by softlayer.compulab.co.il with esmtp (Exim 4.69) (envelope-from ) id 1QGTbo-00033p-67; Sun, 01 May 2011 13:10:36 +0300 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra-mta.compulab.co.il (Postfix) with ESMTP id 3E4857E9894; Sun, 1 May 2011 13:10:35 +0300 (IDT) X-Virus-Scanned: amavisd-new at compulab.co.il Received: from zimbra-mta.compulab.co.il ([127.0.0.1]) by localhost (zimbra-mta.compulab.co.il [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sKr8Z-2-qqCF; Sun, 1 May 2011 13:10:33 +0300 (IDT) Received: from grinberg-linux (grinberg-pc.compulab.local [10.1.1.13]) by zimbra-mta.compulab.co.il (Postfix) with SMTP id E2CF77E9891; Sun, 1 May 2011 13:10:32 +0300 (IDT) Received: by grinberg-linux (sSMTP sendmail emulation); Sun, 01 May 2011 13:10:34 +0300 From: Igor Grinberg To: u-boot@lists.denx.de Date: Sun, 1 May 2011 13:10:30 +0300 Message-Id: <1304244632-8714-1-git-send-email-grinberg@compulab.co.il> X-Mailer: git-send-email 1.7.3.4 In-Reply-To: References: X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - softlayer.compulab.co.il X-AntiAbuse: Original Domain - lists.denx.de X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - compulab.co.il Cc: Nishant Kamat , Kshitij Gupta Subject: [U-Boot] [PATCH 1/3] arm: omap: innovator: fix compilation error 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 CONFIG_SYS_SDRAM_BASE and CONFIG_SYS_INIT_SP_ADDR were not defined for this board thus breaking its build. Signed-off-by: Igor Grinberg Cc: Sandeep Paulraj Cc: Nishant Kamat Cc: Kshitij Gupta --- include/configs/omap1610h2.h | 7 +++++++ include/configs/omap1610inn.h | 7 +++++++ 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/include/configs/omap1610h2.h b/include/configs/omap1610h2.h index 2936dcc..7e53ae6 100644 --- a/include/configs/omap1610h2.h +++ b/include/configs/omap1610h2.h @@ -152,6 +152,13 @@ #define PHYS_SDRAM_1 0x10000000 /* SDRAM Bank #1 */ #define PHYS_SDRAM_1_SIZE 0x02000000 /* 32 MB */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_RAM_SIZE 0x1000 +/* FIXME: the value below is taken from davinci which uses ARM926EJS cpu */ +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + \ + CONFIG_SYS_INIT_RAM_SIZE - \ + GENERATED_GBL_DATA_SIZE) + #define PHYS_FLASH_1_BM1 0x00000000 /* Flash Bank #1 if booting from flash */ #define PHYS_FLASH_1_BM0 0x0C000000 /* Flash Bank #1 if booting from RAM */ diff --git a/include/configs/omap1610inn.h b/include/configs/omap1610inn.h index 0b41c46..be569a3 100644 --- a/include/configs/omap1610inn.h +++ b/include/configs/omap1610inn.h @@ -157,6 +157,13 @@ #define PHYS_SDRAM_1 0x10000000 /* SDRAM Bank #1 */ #define PHYS_SDRAM_1_SIZE 0x02000000 /* 32 MB */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_RAM_SIZE 0x1000 +/* FIXME: the value below is taken from davinci which uses ARM926EJS cpu */ +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + \ + CONFIG_SYS_INIT_RAM_SIZE - \ + GENERATED_GBL_DATA_SIZE) + #define PHYS_FLASH_1_BM1 0x00000000 /* Flash Bank #1 if booting from flash */ #define PHYS_FLASH_1_BM0 0x0C000000 /* Flash Bank #1 if booting from RAM */