MIPS: Loongson32: Set load address to 0x80200000
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Tue, 22 Jan 2019 13:04:14 +0000 (21:04 +0800)
committerPaul Burton <paul.burton@mips.com>
Tue, 22 Jan 2019 19:18:52 +0000 (11:18 -0800)
PMON bootloader on Loongson-1C will use memory between
0x80100000 and 0x80200000 as stack.

Use 0x80100000 as load address may hang the bootloader
during loading.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Cc: keguang.zhang@gmail.com
arch/mips/loongson32/Platform

index a0dbb3b..ca39b49 100644 (file)
@@ -1,4 +1,4 @@
 cflags-$(CONFIG_CPU_LOONGSON1)         += -march=mips32 -Wa,--trap
 platform-$(CONFIG_MACH_LOONGSON32)     += loongson32/
 cflags-$(CONFIG_MACH_LOONGSON32)       += -I$(srctree)/arch/mips/include/asm/mach-loongson32
-load-$(CONFIG_CPU_LOONGSON1)           += 0xffffffff80100000
+load-$(CONFIG_CPU_LOONGSON1)           += 0xffffffff80200000