From: Jens Scharsig Date: Tue, 28 Jun 2011 23:40:07 +0000 (+0000) Subject: Fix compiler error for cpu at91sam9, if lowlevel init is enabled X-Git-Tag: v2011.09-rc1~268 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=24e50461c07953d43bf8b3500f3f8433cf10929a;p=u-boot Fix compiler error for cpu at91sam9, if lowlevel init is enabled * Fix compiler error for cpu at91sam9, if lowlevel init is enabled * use correct ATMEL_ name scheme to define ATMEL_BASE_SDRAMC Signed-off-by: Jens Scharsig --- diff --git a/arch/arm/include/asm/arch-at91/at91sam9_sdramc.h b/arch/arm/include/asm/arch-at91/at91sam9_sdramc.h index 54159a7a15..2d4c49e04b 100644 --- a/arch/arm/include/asm/arch-at91/at91sam9_sdramc.h +++ b/arch/arm/include/asm/arch-at91/at91sam9_sdramc.h @@ -20,7 +20,7 @@ #ifdef __ASSEMBLY__ #ifndef ATMEL_BASE_SDRAMC -#define ATMEL_BASE_SDRAMC AT91_SDRAMC0_BASE +#define ATMEL_BASE_SDRAMC ATMEL_BASE_SDRAMC0 #endif #define AT91_ASM_SDRAMC_MR ATMEL_BASE_SDRAMC