summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhi-zhou Zhang <etou.zh@gmail.com>2012-10-16 15:02:08 +0200
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2012-10-16 15:02:08 +0200
commitff9b0cb8b4804ed372c09b8aad2a984b396596b2 (patch)
tree5f299100b0477907137b6fb2b1f60ba293b6e225
parent090854c826276b4d6361b4bdf3091ddcc977544c (diff)
downloadblackbird-obmc-uboot-ff9b0cb8b4804ed372c09b8aad2a984b396596b2.tar.gz
blackbird-obmc-uboot-ff9b0cb8b4804ed372c09b8aad2a984b396596b2.zip
MIPS: qemu_mips: move CONFIG_SYS_TEXT_BASE to qemu-mips.h
We define CONFIG_SYS_TEXT_BASE in board's specified header file. So config.mk is useless, then remove it. Signed-off-by: Zhizhou Zhang <etou.zh@gmail.com>
-rw-r--r--board/qemu-mips/config.mk10
-rw-r--r--include/configs/qemu-mips.h1
2 files changed, 1 insertions, 10 deletions
diff --git a/board/qemu-mips/config.mk b/board/qemu-mips/config.mk
deleted file mode 100644
index 27cd34ac36..0000000000
--- a/board/qemu-mips/config.mk
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# Qemu -M mips system emulator
-# See http://fabrice.bellard.free.fr/qemu
-#
-
-# ROM version
-CONFIG_SYS_TEXT_BASE = 0xbfc00000
-
-# RAM version
-#CONFIG_SYS_TEXT_BASE = 0x80001000
diff --git a/include/configs/qemu-mips.h b/include/configs/qemu-mips.h
index b8b970504f..f45f78b9a2 100644
--- a/include/configs/qemu-mips.h
+++ b/include/configs/qemu-mips.h
@@ -137,6 +137,7 @@
*/
/* The following #defines are needed to get flash environment right */
+#define CONFIG_SYS_TEXT_BASE 0xbfc00000 /* Rom version */
#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
#define CONFIG_SYS_MONITOR_LEN (192 << 10)
OpenPOWER on IntegriCloud