[U-Boot] [PATCH 4/8] mips: vct: move CONFIG_SYS_TEXT_BASE away from config.mk

Masahiro Yamada
2015-12-11T03:22:27Z

We can delete board/micronas/vct/config.mk by moving the define of
CONFIG_SYS_TEXT_BASE to somewhere else. Other MIPS boards are
still defining it in include/config/${BOARD}.h, so I am following
that way here.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

board/micronas/vct/config.mk | 13 -------------
include/configs/vct.h | 1 +
2 files changed, 1 insertion(+), 13 deletions(-)
delete mode 100644 board/micronas/vct/config.mk

diff --git a/board/micronas/vct/config.mk b/board/micronas/vct/config.mk
deleted file mode 100644
index 354d918..0000000
--- a/board/micronas/vct/config.mk
+++ /dev/null
@@ -1,13 +0,0 @@
-#
-# (C) Copyright 2008 Stefan Roese <sr@denx.de>, DENX Software Engineering
-#
-# SPDX-License-Identifier: GPL-2.0+
-#
-
-#
-# vct_xxx boards with MIPS 4Kc CPU core
-#
-
-ifndef CONFIG_SYS_TEXT_BASE
-CONFIG_SYS_TEXT_BASE = 0x87000000
-endif
diff --git a/include/configs/vct.h b/include/configs/vct.h
index 872f2f0..ea6e3c0 100644
--- a/include/configs/vct.h
+++ b/include/configs/vct.h
@@ -32,6 +32,7 @@

#define CONFIG_SKIP_LOWLEVEL_INIT /* SDRAM is initialized by the bootstrap code */

+#define CONFIG_SYS_TEXT_BASE 0x87000000
#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
#define CONFIG_SYS_MONITOR_LEN (256 << 10)
#define CONFIG_SYS_MALLOC_LEN (1 << 20)
--
1.9.1