aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2010-08-05 08:25:45 -0400
committerRalf Baechle <ralf@linux-mips.org>2010-08-05 08:25:45 -0400
commit526a2fe2f5d887ef8b89243c3a5e64f0f38c21cc (patch)
tree29d7be17b2b2a68d669d6539618dfd27030a5826
parent28c945c88676bf71ec649429f2c1c4ce3719cd7c (diff)
MIPS: MIPSsim: Migrate to new Platform file
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/Kbuild.platforms1
-rw-r--r--arch/mips/Makefile7
-rw-r--r--arch/mips/mipssim/Makefile2
-rw-r--r--arch/mips/mipssim/Platform6
4 files changed, 7 insertions, 9 deletions
diff --git a/arch/mips/Kbuild.platforms b/arch/mips/Kbuild.platforms
index 9784c4941c9f..13244f326fff 100644
--- a/arch/mips/Kbuild.platforms
+++ b/arch/mips/Kbuild.platforms
@@ -2,6 +2,7 @@
2 2
3platforms += ar7 3platforms += ar7
4platforms += loongson 4platforms += loongson
5platforms += mipssim
5 6
6# include the platform specific files 7# include the platform specific files
7include $(patsubst %, $(srctree)/arch/mips/%/Platform, $(platforms)) 8include $(patsubst %, $(srctree)/arch/mips/%/Platform, $(platforms))
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 3eafe7fcb27c..cc2ae36a4546 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -334,13 +334,6 @@ load-$(CONFIG_MIPS_MALTA) += 0xffffffff80100000
334all-$(CONFIG_MIPS_MALTA) := $(COMPRESSION_FNAME).bin 334all-$(CONFIG_MIPS_MALTA) := $(COMPRESSION_FNAME).bin
335 335
336# 336#
337# MIPS SIM
338#
339core-$(CONFIG_MIPS_SIM) += arch/mips/mipssim/
340cflags-$(CONFIG_MIPS_SIM) += -I$(srctree)/arch/mips/include/asm/mach-mipssim
341load-$(CONFIG_MIPS_SIM) += 0x80100000
342
343#
344# PMC-Sierra MSP SOCs 337# PMC-Sierra MSP SOCs
345# 338#
346core-$(CONFIG_PMC_MSP) += arch/mips/pmc-sierra/msp71xx/ 339core-$(CONFIG_PMC_MSP) += arch/mips/pmc-sierra/msp71xx/
diff --git a/arch/mips/mipssim/Makefile b/arch/mips/mipssim/Makefile
index 41b96571315e..01410a3f1729 100644
--- a/arch/mips/mipssim/Makefile
+++ b/arch/mips/mipssim/Makefile
@@ -21,5 +21,3 @@ obj-y := sim_platform.o sim_setup.o sim_mem.o sim_time.o sim_int.o
21 21
22obj-$(CONFIG_EARLY_PRINTK) += sim_console.o 22obj-$(CONFIG_EARLY_PRINTK) += sim_console.o
23obj-$(CONFIG_MIPS_MT_SMTC) += sim_smtc.o 23obj-$(CONFIG_MIPS_MT_SMTC) += sim_smtc.o
24
25EXTRA_CFLAGS += -Werror
diff --git a/arch/mips/mipssim/Platform b/arch/mips/mipssim/Platform
new file mode 100644
index 000000000000..3df60b8a12ef
--- /dev/null
+++ b/arch/mips/mipssim/Platform
@@ -0,0 +1,6 @@
1#
2# MIPS SIM
3#
4platform-$(CONFIG_MIPS_SIM) += mipssim/
5cflags-$(CONFIG_MIPS_SIM) += -I$(srctree)/arch/mips/include/asm/mach-mipssim
6load-$(CONFIG_MIPS_SIM) += 0x80100000