From mboxrd@z Thu Jan 1 00:00:00 1970 From: Igor Grinberg Date: Tue, 17 May 2011 15:40:43 +0300 Subject: [U-Boot] [PATCH 1/3] arm: omap: innovator: fix compilation error In-Reply-To: <1304244632-8714-1-git-send-email-grinberg@compulab.co.il> References: <1304244632-8714-1-git-send-email-grinberg@compulab.co.il> Message-ID: <4DD26CCB.3040505@compulab.co.il> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Sandeep, Any comments? On 05/01/11 13:10, Igor Grinberg wrote: > 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 */ > -- Regards, Igor.