[U-Boot] [PATCH] imx27lite: Remove local config.mk

Fabio Estevam fabio.estevam at freescale.com
Mon Jun 6 17:25:20 CEST 2011


Local board config.mk should be avoided.

Place CONFIG_SYS_TEXT_BASE definition into the board config file instead.

Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
 board/logicpd/imx27lite/config.mk  |    5 -----
 include/configs/imx27lite-common.h |    2 ++
 2 files changed, 2 insertions(+), 5 deletions(-)
 delete mode 100644 board/logicpd/imx27lite/config.mk

diff --git a/board/logicpd/imx27lite/config.mk b/board/logicpd/imx27lite/config.mk
deleted file mode 100644
index 018d920..0000000
--- a/board/logicpd/imx27lite/config.mk
+++ /dev/null
@@ -1,5 +0,0 @@
-# with relocation CONFIG_SYS_TEXT_BASE can be anything, and making it 0
-# makes relative and absolute relocation fixups interchangeable.
-#CONFIG_SYS_TEXT_BASE = 0
-
-CONFIG_SYS_TEXT_BASE = 0xc0000000
diff --git a/include/configs/imx27lite-common.h b/include/configs/imx27lite-common.h
index bc1fa00..8d93277 100644
--- a/include/configs/imx27lite-common.h
+++ b/include/configs/imx27lite-common.h
@@ -34,6 +34,8 @@
 #define CONFIG_DISPLAY_BOARDINFO
 #define CONFIG_DISPLAY_CPUINFO
 
+#define CONFIG_SYS_TEXT_BASE		0xc0000000
+
 #define CONFIG_CMDLINE_TAG		1	/* enable passing of ATAGs */
 #define CONFIG_SETUP_MEMORY_TAGS	1
 #define CONFIG_INITRD_TAG		1
-- 
1.6.0.4




More information about the U-Boot mailing list