summaryrefslogtreecommitdiff
path: root/board/qemu-mips
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2016-05-17 10:56:39 (GMT)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2016-05-25 23:34:13 (GMT)
commitec35e12331512cf5ed0f22005d7b6fb4ccc35969 (patch)
tree036188d9be0fe471d1de14c4ef21a16752e38d83 /board/qemu-mips
parent6242aa137427f6da6ca47e7a8c9a9f78ad63e00d (diff)
downloadu-boot-fsl-qoriq-ec35e12331512cf5ed0f22005d7b6fb4ccc35969.tar.xz
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 18d78b5..3de1f44 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