]> git.sur5r.net Git - u-boot/commitdiff
Fix compiler error for cpu at91sam9, if lowlevel init is enabled
authorJens Scharsig <esw@bus-elektronik.de>
Tue, 28 Jun 2011 23:40:07 +0000 (23:40 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 4 Jul 2011 08:55:28 +0000 (10:55 +0200)
* 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
arch/arm/include/asm/arch-at91/at91sam9_sdramc.h

index 54159a7a15f9cadcb4befbe1b5e931daee5c2e02..2d4c49e04bb547dbceaa6796e6f4ca707782618d 100644 (file)
@@ -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