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
This commit is contained in:
Jens Scharsig 2011-06-28 23:40:07 +00:00 committed by Albert ARIBAUD
parent 221786525f
commit 24e50461c0

View 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