From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tirumala Marri Date: Mon, 30 Aug 2010 10:43:55 -0700 Subject: [U-Boot] [PATCH 6/8] APM82xxx: Add SRAM support In-Reply-To: <4C778FE7.40401@mvista.com> References: <1282856769-24580-1-git-send-email-tmarri@apm.com> <4C778FE7.40401@mvista.com> Message-ID: <8a743b6a146f57340881bebd4e31d41f@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > > > Signed-off-by: Tirumala R Marri > [...] > > diff --git a/arch/powerpc/include/asm/ppc4xx-isram.h > b/arch/powerpc/include/asm/ppc4xx-isram.h > > index d6d17ac..b723401 100644 > > --- a/arch/powerpc/include/asm/ppc4xx-isram.h > > +++ b/arch/powerpc/include/asm/ppc4xx-isram.h > > @@ -25,7 +25,8 @@ > > /* > > * Internal SRAM > > */ > > -#if defined(CONFIG_440EPX) || defined(CONFIG_440GRX) > > +#if defined(CONFIG_440EPX) || defined(CONFIG_440GRX) ||\ > > Please add space before \ to keep the style consistent. [Marri] Sure will do > > > + defined(CONFIG_APM82XXX) > > #define ISRAM0_DCR_BASE 0x380 > > #else > > #define ISRAM0_DCR_BASE 0x020 > > @@ -42,7 +43,8 @@ > > #define ISRAM0_REVID (ISRAM0_DCR_BASE+0x09) /* SRAM bus revision id > reg */ > > #define ISRAM0_DPC (ISRAM0_DCR_BASE+0x0a) /* SRAM data parity > check reg */ > > > > -#if defined(CONFIG_460EX) || defined(CONFIG_460GT) > > +#if defined(CONFIG_460EX) || defined(CONFIG_460GT) ||\ > > Same here... [Marri] Ok > > > + defined(CONFIG_APM82XXX) > > #define ISRAM1_DCR_BASE 0x0B0 > > #define ISRAM1_SB0CR (ISRAM1_DCR_BASE+0x00) /* SRAM1 bank config > 0*/ > > #define ISRAM1_BEAR (ISRAM1_DCR_BASE+0x04) /* SRAM1 bus error addr > reg */ Regards, Marri