[U-Boot] [PATCH] powerpc/corenet_ds: Move CONFIG_SYS_TEXT_BASE into corenet_ds.h

Kumar Gala galak at kernel.crashing.org
Thu Nov 11 08:44:38 CET 2010


CONFIG_SYS_TEXT_BASE setting is common across the 'corenet_ds' board
family so move it out of P4080DS.h and into corenet_ds.h

Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
---
 include/configs/P4080DS.h    |    4 ----
 include/configs/corenet_ds.h |    4 ++++
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/configs/P4080DS.h b/include/configs/P4080DS.h
index 5e7b81f..87703c9 100644
--- a/include/configs/P4080DS.h
+++ b/include/configs/P4080DS.h
@@ -36,8 +36,4 @@
 #define CONFIG_SYS_P4080_ERRATUM_CPU22
 #define CONFIG_SYS_P4080_ERRATUM_SERDES8
 
-#ifndef CONFIG_SYS_TEXT_BASE
-#define CONFIG_SYS_TEXT_BASE	0xeff80000
-#endif
-
 #include "corenet_ds.h"
diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h
index 5b36a56..c5dcdca 100644
--- a/include/configs/corenet_ds.h
+++ b/include/configs/corenet_ds.h
@@ -37,6 +37,10 @@
 #define CONFIG_FSL_CORENET		/* Freescale CoreNet platform */
 #define CONFIG_MP			/* support multiple processors */
 
+#ifndef CONFIG_SYS_TEXT_BASE
+#define CONFIG_SYS_TEXT_BASE	0xeff80000
+#endif
+
 #define CONFIG_SYS_FSL_CPC		/* Corenet Platform Cache */
 #define CONFIG_SYS_NUM_CPC		CONFIG_NUM_DDR_CONTROLLERS
 #define CONFIG_FSL_ELBC			/* Has Enhanced localbus controller */
-- 
1.7.2.3



More information about the U-Boot mailing list