From: Reinhard Meyer Date: Tue, 07 Jun 2011 10:04:27 +0200 Subject: [U-Boot] [PATCH 3/5] arm926ejs/at91/lowlevel_init.S: temporary fix In-Reply-To: <1307428508-26058-3-git-send-email-eric@eukrea.com> References: <1307428508-26058-1-git-send-email-eric@eukrea.com> <1307428508-26058-3-git-send-email-eric@eukrea.com> Message-ID: <4DEDDB8B.1050900@emk-elektronik.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Eric B?nard, > handle the case where AT91_SDRAM_BASE and AT91_PIO_BASE are not > defined > > Signed-off-by: Eric B?nard > --- > arch/arm/cpu/arm926ejs/at91/lowlevel_init.S | 8 ++++++++ > 1 files changed, 8 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/cpu/arm926ejs/at91/lowlevel_init.S b/arch/arm/cpu/arm926ejs/at91/lowlevel_init.S > index 7f7ca5e..7cbbb54 100644 > --- a/arch/arm/cpu/arm926ejs/at91/lowlevel_init.S > +++ b/arch/arm/cpu/arm926ejs/at91/lowlevel_init.S > @@ -42,6 +42,14 @@ > #define CONFIG_SYS_MATRIX_EBICSA_VAL CONFIG_SYS_MATRIX_EBI0CSA_VAL > #endif > > +#ifndef AT91_SDRAM_BASE > +#define AT91_SDRAM_BASE ATMEL_BASE_CS1 > +#endif > + > +#ifndef AT91_PIO_BASE > +#define AT91_PIO_BASE ATMEL_BASE_PIOA > +#endif > + > _TEXT_BASE: > .word CONFIG_SYS_TEXT_BASE > How "temporary" is "temporary"? This fix could be done better, by using CONFIG_SYS_SDRAM_BASE right away, and using ATMEL_BASE_PIOA as well in that file. Please resubmit this fix, or explain why it cannot be done the way I suggested. Best Regards, Reinhard