[U-Boot] [PATCH 3/5] arm926ejs/at91/lowlevel_init.S: temporary fix

Eric Bénard eric at eukrea.com
Tue Jun 7 08:35:06 CEST 2011


handle the case where AT91_SDRAM_BASE and AT91_PIO_BASE are not
defined

Signed-off-by: Eric Bénard <eric at eukrea.com>
---
 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
 
-- 
1.7.4.4



More information about the U-Boot mailing list