[U-Boot] [[Patch V2] mips: 16/16] modify qemu-mips/config.mk

Zhizhou Zhang etou.zh at gmail.com
Fri Aug 17 17:30:59 CEST 2012


Though I defined CONFIG_SYS_TEXT_BASE in configs/qemu-mips64.h,
but the value is still affected by this file.
Signed-off-by: Zhizhou Zhang <etou.zh at gmail.com>
---
 board/qemu-mips/config.mk |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/board/qemu-mips/config.mk b/board/qemu-mips/config.mk
index 27cd34a..a1514a0 100644
--- a/board/qemu-mips/config.mk
+++ b/board/qemu-mips/config.mk
@@ -2,9 +2,10 @@
 # Qemu -M mips system emulator
 # See http://fabrice.bellard.free.fr/qemu
 #
-
+ifeq "$(CPU)" "mips"
 # ROM version
 CONFIG_SYS_TEXT_BASE = 0xbfc00000
 
 # RAM version
 #CONFIG_SYS_TEXT_BASE = 0x80001000
+endif
-- 
1.7.9.5



More information about the U-Boot mailing list