summaryrefslogtreecommitdiffstats
path: root/kernel/arch/mips/loongson32/Platform
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/mips/loongson32/Platform')
-rw-r--r--kernel/arch/mips/loongson32/Platform7
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/arch/mips/loongson32/Platform b/kernel/arch/mips/loongson32/Platform
new file mode 100644
index 000000000..ebb6dc290
--- /dev/null
+++ b/kernel/arch/mips/loongson32/Platform
@@ -0,0 +1,7 @@
+cflags-$(CONFIG_CPU_LOONGSON1) += \
+ $(call cc-option,-march=mips32r2,-mips32r2 -U_MIPS_ISA -D_MIPS_ISA=_MIPS_ISA_MIPS32) \
+ -Wa,-mips32r2 -Wa,--trap
+
+platform-$(CONFIG_MACH_LOONGSON32) += loongson32/
+cflags-$(CONFIG_MACH_LOONGSON32) += -I$(srctree)/arch/mips/include/asm/mach-loongson32
+load-$(CONFIG_LOONGSON1_LS1B) += 0xffffffff80100000