Patchwork [U-Boot,08/13] sh: Remove config.mk for ms7720se board

login
register
mail settings
Submitter Nobuhiro Iwamatsu
Date Jan. 17, 2011, 12:50 p.m.
Message ID <1295268663-11004-8-git-send-email-iwamatsu@nigauri.org>
Download mbox | patch
Permalink /patch/79151/
State Accepted
Commit 46198754de3ed3613d4cbc9c204c193b7271e2ad
Headers show

Comments

Nobuhiro Iwamatsu - Jan. 17, 2011, 12:50 p.m.
Move CONFIG_SYS_TEXT_BASE to the board's config file, and remove the
unnecessary config.mk file.

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

Patch

diff --git a/board/ms7720se/config.mk b/board/ms7720se/config.mk
deleted file mode 100644
index d2944a6..0000000
--- a/board/ms7720se/config.mk
+++ /dev/null
@@ -1,34 +0,0 @@ 
-#
-# Copyright (C) 2007
-# Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
-#
-# Copyright (C) 2007
-# Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-#
-# Copyright (C) 2007
-# Kenati Technologies, Inc.
-#
-# board/ms7720se/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
-
-#
-# CONFIG_SYS_TEXT_BASE refers to image _after_ relocation.
-#
-# NOTE: Must match value used in u-boot.lds (in this directory).
-#
-
-CONFIG_SYS_TEXT_BASE = 0x8FFC0000
diff --git a/include/configs/ms7720se.h b/include/configs/ms7720se.h
index 5304237..dd79b2d 100644
--- a/include/configs/ms7720se.h
+++ b/include/configs/ms7720se.h
@@ -52,6 +52,7 @@ 
 #define MS7720SE_FLASH_BASE_1		0xA0000000
 #define MS7720SE_FLASH_BANK_SIZE	(8 * 1024 * 1024)
 
+#define CONFIG_SYS_TEXT_BASE	0x8FFC0000
 #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 */