From: Peter Pearse Date: Mon, 15 Nov 2010 14:39:52 -0000 Subject: [U-Boot] [PATCH] CONFIG_SYS_SDRAM and CONFIG_SYS_INIT_SP_ADDR defines for versatile boards. In-Reply-To: <20101114205824.C6F5F134F54@gemini.denx.de> References: <1288293797-16422-1-git-send-email-hschauhan@nulltrace.org> <20101114205824.C6F5F134F54@gemini.denx.de> Message-ID: <000301cb84d2$f6b114b0$9644010a@Emea.Arm.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Fine by me > -----Original Message----- > From: Wolfgang Denk [mailto:wd at denx.de] > Sent: 14 November 2010 20:58 > To: Peter Pearse > Cc: Himanshu Chauhan; u-boot at lists.denx.de > Subject: Re: [U-Boot] [PATCH] CONFIG_SYS_SDRAM and > CONFIG_SYS_INIT_SP_ADDR defines for versatile boards. > > Dear Peter, > > In message > <1288293797-16422-1-git-send-email-hschauhan@nulltrace.org> > Himanshu Chauhan wrote: > > Following is the patch for defining the subject line mentioned > > configuration defines for versatile boards. > > > > Signed-off-by: Himanshu Chauhan > > --- > > include/configs/versatile.h | 3 +++ > > 1 files changed, 3 insertions(+), 0 deletions(-) > > > > diff --git a/include/configs/versatile.h > b/include/configs/versatile.h > > index 45d8434..2da567a 100644 > > --- a/include/configs/versatile.h > > +++ b/include/configs/versatile.h > > @@ -231,4 +231,7 @@ > > #define CONFIG_SYS_FLASH_PROTECTION /* The devices > have real protection */ > > #define CONFIG_SYS_FLASH_EMPTY_INFO /* flinfo > indicates empty blocks */ > > > > +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 > > +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_TEXT_BASE \ > > + - GENERATED_GBL_DATA_SIZE) > > #endif /* __CONFIG_H */ > > -- > > Is this OK with you? > > Best regards, > > Wolfgang Denk > > -- > DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany > Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: > wd at denx.de I haven't lost my mind -- it's backed up on tape somewhere. >