From patchwork Wed Mar 2 18:03:42 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ithamar R. Adema" X-Patchwork-Id: 85123 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 8E3661007D5 for ; Thu, 3 Mar 2011 05:31:35 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8D20C28082; Wed, 2 Mar 2011 19:31:32 +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 vAL-1VX32O0i; Wed, 2 Mar 2011 19:31:32 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DD83F28083; Wed, 2 Mar 2011 19:31:30 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 48F4F28083 for ; Wed, 2 Mar 2011 19:31:29 +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 dhdGFsu+3cmA for ; Wed, 2 Mar 2011 19:31:28 +0100 (CET) X-Greylist: delayed 1642 seconds by postgrey-1.27 at theia; Wed, 02 Mar 2011 19:31:26 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 berilia.team-embedded.nl (82-148-208-25.fiber.unet.nl [82.148.208.25]) by theia.denx.de (Postfix) with ESMTPS id 107C428082 for ; Wed, 2 Mar 2011 19:31:26 +0100 (CET) Received: from [192.168.0.200] (helo=team-embedded-2) by berilia.team-embedded.nl with esmtp (Exim 4.69) (envelope-from ) id 1PuqOR-000791-CR; Wed, 02 Mar 2011 19:03:23 +0100 From: "Ithamar R. Adema" To: u-boot@lists.denx.de Date: Wed, 2 Mar 2011 19:03:42 +0100 Message-Id: <1299089022-2957-1-git-send-email-ithamar.adema@team-embedded.nl> X-Mailer: git-send-email 1.7.1 Subject: [U-Boot] [PATCH] lpc2292: fix compilation of supported boards. 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 Both boards were missing the CONFIG_SYS_SDRAM_BASE and CONFIG_SYS_INIT_SP_ADDR defines. Signed-off-by: Ithamar R. Adema --- include/configs/SMN42.h | 3 +++ include/configs/lpc2292sodimm.h | 3 +++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/include/configs/SMN42.h b/include/configs/SMN42.h index 4a8acab..d46b6c5 100644 --- a/include/configs/SMN42.h +++ b/include/configs/SMN42.h @@ -163,6 +163,9 @@ #define PHYS_SDRAM_1 0x81000000 /* SRAM Bank #1 */ #define PHYS_SDRAM_1_SIZE 0x02000000 /* 32 MB SRAM */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR (GENERATED_GBL_DATA_SIZE + PHYS_SDRAM_1) + /* This is the external flash */ #define PHYS_FLASH_1 0x80000000 /* Flash Bank #1 */ #define PHYS_FLASH_SIZE 0x01000000 /* 16 MB */ diff --git a/include/configs/lpc2292sodimm.h b/include/configs/lpc2292sodimm.h index 17972d7..05a9480 100644 --- a/include/configs/lpc2292sodimm.h +++ b/include/configs/lpc2292sodimm.h @@ -130,6 +130,9 @@ #define PHYS_SDRAM_1 0x81000000 /* SDRAM Bank #1 */ #define PHYS_SDRAM_1_SIZE 0x00800000 /* 8 MB SDRAM */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR (GENERATED_GBL_DATA_SIZE + PHYS_SDRAM_1) + #define PHYS_FLASH_1 0x80000000 /* Flash Bank #1 */ #define PHYS_FLASH_SIZE 0x00200000 /* 2 MB */