summaryrefslogtreecommitdiffstats
path: root/kernel/arch/mips/ralink/Platform
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/mips/ralink/Platform')
-rw-r--r--kernel/arch/mips/ralink/Platform29
1 files changed, 29 insertions, 0 deletions
diff --git a/kernel/arch/mips/ralink/Platform b/kernel/arch/mips/ralink/Platform
new file mode 100644
index 000000000..6d9c8c499
--- /dev/null
+++ b/kernel/arch/mips/ralink/Platform
@@ -0,0 +1,29 @@
+#
+# Ralink SoC common stuff
+#
+core-$(CONFIG_RALINK) += arch/mips/ralink/
+cflags-$(CONFIG_RALINK) += -I$(srctree)/arch/mips/include/asm/mach-ralink
+
+#
+# Ralink RT288x
+#
+load-$(CONFIG_SOC_RT288X) += 0xffffffff88000000
+cflags-$(CONFIG_SOC_RT288X) += -I$(srctree)/arch/mips/include/asm/mach-ralink/rt288x
+
+#
+# Ralink RT305x
+#
+load-$(CONFIG_SOC_RT305X) += 0xffffffff80000000
+cflags-$(CONFIG_SOC_RT305X) += -I$(srctree)/arch/mips/include/asm/mach-ralink/rt305x
+
+#
+# Ralink RT3883
+#
+load-$(CONFIG_SOC_RT3883) += 0xffffffff80000000
+cflags-$(CONFIG_SOC_RT3883) += -I$(srctree)/arch/mips/include/asm/mach-ralink/rt3883
+
+#
+# Ralink MT7620
+#
+load-$(CONFIG_SOC_MT7620) += 0xffffffff80000000
+cflags-$(CONFIG_SOC_MT7620) += -I$(srctree)/arch/mips/include/asm/mach-ralink/mt7620