[U-Boot] [PATCH] atmel: sam9g10: correct the text base and move into config.mk

Bo Shen voice.shen at atmel.com
Thu Aug 23 11:34:51 CEST 2012


This patch correct the text base for at91sam9g10ek board
Move the text base define to config.mk

Signed-off-by: Bo Shen <voice.shen at atmel.com>
---
 board/atmel/at91sam9261ek/config.mk |    1 +
 include/configs/at91sam9261ek.h     |    1 -
 2 files changed, 1 insertion(+), 1 deletion(-)
 create mode 100644 board/atmel/at91sam9261ek/config.mk

diff --git a/board/atmel/at91sam9261ek/config.mk b/board/atmel/at91sam9261ek/config.mk
new file mode 100644
index 0000000..e554a45
--- /dev/null
+++ b/board/atmel/at91sam9261ek/config.mk
@@ -0,0 +1 @@
+CONFIG_SYS_TEXT_BASE = 0x23f00000
diff --git a/include/configs/at91sam9261ek.h b/include/configs/at91sam9261ek.h
index 014437b..718ac60 100644
--- a/include/configs/at91sam9261ek.h
+++ b/include/configs/at91sam9261ek.h
@@ -52,7 +52,6 @@
 #define CONFIG_DISPLAY_CPUINFO
 
 #define CONFIG_ATMEL_LEGACY
-#define CONFIG_SYS_TEXT_BASE		0x21f00000
 
 /*
  * Hardware drivers
-- 
1.7.9.5



More information about the U-Boot mailing list