aboutsummaryrefslogtreecommitdiff
path: root/board/qemu-mips
diff options
context:
space:
mode:
authorPaul Burton2016-05-17 11:56:39 +0100
committerDaniel Schwierzeck2016-05-26 01:34:13 +0200
commitec35e12331512cf5ed0f22005d7b6fb4ccc35969 (patch)
tree036188d9be0fe471d1de14c4ef21a16752e38d83 /board/qemu-mips
parent6242aa137427f6da6ca47e7a8c9a9f78ad63e00d (diff)
MIPS: Move CONFIG_SYS_TEXT_BASE to Kconfig
Move CONFIG_SYS_TEXT_BASE to Kconfig, and add default values in board Kconfig files matching what was present in their config headers. This will make it cleaner to conditionalise the value for Malta based on 32 vs 64 bit builds. Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Diffstat (limited to 'board/qemu-mips')
-rw-r--r--board/qemu-mips/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/qemu-mips/Kconfig b/board/qemu-mips/Kconfig
index 18d78b51008..3de1f44a3da 100644
--- a/board/qemu-mips/Kconfig
+++ b/board/qemu-mips/Kconfig
@@ -7,4 +7,8 @@ config SYS_CONFIG_NAME
default "qemu-mips" if 32BIT
default "qemu-mips64" if 64BIT
+config SYS_TEXT_BASE
+ default 0xbfc00000 if 32BIT
+ default 0xffffffffbfc00000 if 64BIT
+
endif