diff mbox series

[5/6] MIPS: Loongson32: Set load address to 0x80200000

Message ID 20190122130415.3440-5-jiaxun.yang@flygoat.com (mailing list archive)
State Accepted
Headers show
Series [1/6] MIPS: Loongson32: Remove unused platform devices | expand

Commit Message

Jiaxun Yang Jan. 22, 2019, 1:04 p.m. UTC
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>
---
 arch/mips/loongson32/Platform | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Paul Burton Jan. 23, 2019, 1:34 a.m. UTC | #1
Hello,

Jiaxun Yang wrote:
> 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>

Applied to mips-next.

Thanks,
    Paul

[ This message was auto-generated; if you believe anything is incorrect
  then please email paul.burton@mips.com to report it. ]
diff mbox series

Patch

diff --git a/arch/mips/loongson32/Platform b/arch/mips/loongson32/Platform
index 0db38f64f571..333215593092 100644
--- a/arch/mips/loongson32/Platform
+++ b/arch/mips/loongson32/Platform
@@ -1,4 +1,4 @@ 
 cflags-$(CONFIG_CPU_LOONGSON1)		+= -march=mips32r2 -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