[U-Boot] [PATCH 13/13] sh: Remove config.mk for shmin board

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Mon Jan 17 13:51:03 CET 2011


Move CONFIG_SYS_TEXT_BASE to the board's config file, and remove the
unnecessary config.mk file.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
---
 board/shmin/config.mk   |   27 ---------------------------
 include/configs/shmin.h |    1 +
 2 files changed, 1 insertions(+), 27 deletions(-)
 delete mode 100644 board/shmin/config.mk

diff --git a/board/shmin/config.mk b/board/shmin/config.mk
deleted file mode 100644
index 0c7605e..0000000
--- a/board/shmin/config.mk
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-# Copyright (C) 2010 Nobuhiro Iwamatsu
-#
-# u-boot/board/shmin/config.mk
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
-# MA 02111-1307 USA
-
-#
-# TEXT_BASE refers to image _after_ relocation.
-#
-# NOTE: Must match value used in u-boot.lds (in this directory).
-#
-
-CONFIG_SYS_TEXT_BASE = 0x8DFB0000
diff --git a/include/configs/shmin.h b/include/configs/shmin.h
index 54a1587..525f6e2 100644
--- a/include/configs/shmin.h
+++ b/include/configs/shmin.h
@@ -56,6 +56,7 @@
 #define SHMIN_SDRAM_BASE		(0x8C000000)
 #define SHMIN_FLASH_BASE_1		(0xA0000000)
 
+#define CONFIG_SYS_TEXT_BASE	0x8DFB0000
 #define CONFIG_SYS_LONGHELP		/* undef to save memory	*/
 #define CONFIG_SYS_PROMPT	"=> "	/* Monitor Command Prompt */
 #define CONFIG_SYS_CBSIZE	256	/* Buffer size for input from the Console */
-- 
1.7.2.3



More information about the U-Boot mailing list