diff options
| author | Ralf Baechle <ralf@linux-mips.org> | 2008-07-15 13:44:34 -0400 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-15 13:44:34 -0400 |
| commit | 315806cb19f9d375dccbc2d60fa14e16afdcd5ac (patch) | |
| tree | effe89f2f8d49bf62018ad5717a0d7c8c5725277 /arch | |
| parent | eda49eeebf263f3a34f6968959fc2e4825b42beb (diff) | |
[MIPS] Malta: Cleanup organization of code into directories.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/mips/Makefile | 5 | ||||
| -rw-r--r-- | arch/mips/mips-boards/generic/Makefile | 29 | ||||
| -rw-r--r-- | arch/mips/mips-boards/malta/Makefile | 27 | ||||
| -rw-r--r-- | arch/mips/mti-malta/Makefile | 21 | ||||
| -rw-r--r-- | arch/mips/mti-malta/malta-amon.c (renamed from arch/mips/mips-boards/generic/amon.c) | 0 | ||||
| -rw-r--r-- | arch/mips/mti-malta/malta-cmdline.c (renamed from arch/mips/mips-boards/generic/cmdline.c) | 0 | ||||
| -rw-r--r-- | arch/mips/mti-malta/malta-console.c (renamed from arch/mips/mips-boards/generic/console.c) | 0 | ||||
| -rw-r--r-- | arch/mips/mti-malta/malta-display.c (renamed from arch/mips/mips-boards/generic/display.c) | 0 | ||||
| -rw-r--r-- | arch/mips/mti-malta/malta-init.c (renamed from arch/mips/mips-boards/generic/init.c) | 0 | ||||
| -rw-r--r-- | arch/mips/mti-malta/malta-int.c (renamed from arch/mips/mips-boards/malta/malta_int.c) | 0 | ||||
| -rw-r--r-- | arch/mips/mti-malta/malta-kgdb.c (renamed from arch/mips/mips-boards/generic/gdb_hook.c) | 0 | ||||
| -rw-r--r-- | arch/mips/mti-malta/malta-memory.c (renamed from arch/mips/mips-boards/generic/memory.c) | 0 | ||||
| -rw-r--r-- | arch/mips/mti-malta/malta-mtd.c (renamed from arch/mips/mips-boards/malta/malta_mtd.c) | 0 | ||||
| -rw-r--r-- | arch/mips/mti-malta/malta-pci.c (renamed from arch/mips/mips-boards/generic/pci.c) | 0 | ||||
| -rw-r--r-- | arch/mips/mti-malta/malta-platform.c (renamed from arch/mips/mips-boards/malta/malta_platform.c) | 0 | ||||
| -rw-r--r-- | arch/mips/mti-malta/malta-reset.c (renamed from arch/mips/mips-boards/generic/reset.c) | 0 | ||||
| -rw-r--r-- | arch/mips/mti-malta/malta-setup.c (renamed from arch/mips/mips-boards/malta/malta_setup.c) | 0 | ||||
| -rw-r--r-- | arch/mips/mti-malta/malta-smtc.c (renamed from arch/mips/mips-boards/malta/malta_smtc.c) | 0 | ||||
| -rw-r--r-- | arch/mips/mti-malta/malta-time.c (renamed from arch/mips/mips-boards/generic/time.c) | 0 |
19 files changed, 23 insertions, 59 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index ed8821ac8a8e..36aa690484c8 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
| @@ -307,9 +307,8 @@ cflags-$(CONFIG_LEMOTE_FULONG) += -Iinclude/asm-mips/mach-lemote | |||
| 307 | # | 307 | # |
| 308 | # MIPS Malta board | 308 | # MIPS Malta board |
| 309 | # | 309 | # |
| 310 | core-$(CONFIG_MIPS_MALTA) += arch/mips/mips-boards/generic/ \ | 310 | core-$(CONFIG_MIPS_MALTA) += arch/mips/mti-malta/ |
| 311 | arch/mips/mips-boards/malta/ | 311 | cflags-$(CONFIG_MIPS_MALTA) += -Iinclude/asm-mips/mach-malta |
| 312 | cflags-$(CONFIG_MIPS_MALTA) += -Iinclude/asm-mips/mach-mips | ||
| 313 | load-$(CONFIG_MIPS_MALTA) += 0xffffffff80100000 | 312 | load-$(CONFIG_MIPS_MALTA) += 0xffffffff80100000 |
| 314 | all-$(CONFIG_MIPS_MALTA) := vmlinux.bin | 313 | all-$(CONFIG_MIPS_MALTA) := vmlinux.bin |
| 315 | 314 | ||
diff --git a/arch/mips/mips-boards/generic/Makefile b/arch/mips/mips-boards/generic/Makefile deleted file mode 100644 index f7f87fc09d1e..000000000000 --- a/arch/mips/mips-boards/generic/Makefile +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | # | ||
| 2 | # Carsten Langgaard, carstenl@mips.com | ||
| 3 | # Copyright (C) 1999,2000 MIPS Technologies, Inc. All rights reserved. | ||
| 4 | # | ||
| 5 | # This program is free software; you can distribute it and/or modify it | ||
| 6 | # under the terms of the GNU General Public License (Version 2) as | ||
| 7 | # published by the Free Software Foundation. | ||
| 8 | # | ||
| 9 | # This program is distributed in the hope it will be useful, but WITHOUT | ||
| 10 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
| 11 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
| 12 | # for more details. | ||
| 13 | # | ||
| 14 | # You should have received a copy of the GNU General Public License along | ||
| 15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
| 16 | # 59 Temple Place - Suite 330, Boston MA 02111-1307, USA. | ||
| 17 | # | ||
| 18 | # Makefile for the MIPS boards generic routines under Linux. | ||
| 19 | # | ||
| 20 | |||
| 21 | obj-y := reset.o display.o init.o memory.o \ | ||
| 22 | cmdline.o time.o | ||
| 23 | obj-y += amon.o | ||
| 24 | |||
| 25 | obj-$(CONFIG_EARLY_PRINTK) += console.o | ||
| 26 | obj-$(CONFIG_PCI) += pci.o | ||
| 27 | obj-$(CONFIG_KGDB) += gdb_hook.o | ||
| 28 | |||
| 29 | EXTRA_CFLAGS += -Werror | ||
diff --git a/arch/mips/mips-boards/malta/Makefile b/arch/mips/mips-boards/malta/Makefile deleted file mode 100644 index db4ad654a6d3..000000000000 --- a/arch/mips/mips-boards/malta/Makefile +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 1 | # | ||
| 2 | # Carsten Langgaard, carstenl@mips.com | ||
| 3 | # Copyright (C) 2000 MIPS Technologies, Inc. All rights reserved. | ||
| 4 | # | ||
| 5 | # This program is free software; you can distribute it and/or modify it | ||
| 6 | # under the terms of the GNU General Public License (Version 2) as | ||
| 7 | # published by the Free Software Foundation. | ||
| 8 | # | ||
| 9 | # This program is distributed in the hope it will be useful, but WITHOUT | ||
| 10 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
| 11 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
| 12 | # for more details. | ||
| 13 | # | ||
| 14 | # You should have received a copy of the GNU General Public License along | ||
| 15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
| 16 | # 59 Temple Place - Suite 330, Boston MA 02111-1307, USA. | ||
| 17 | # | ||
| 18 | # Makefile for the MIPS Malta specific kernel interface routines | ||
| 19 | # under Linux. | ||
| 20 | # | ||
| 21 | |||
| 22 | obj-y := malta_int.o malta_mtd.o malta_platform.o malta_setup.o | ||
| 23 | |||
| 24 | # FIXME FIXME FIXME | ||
| 25 | obj-$(CONFIG_MIPS_MT_SMTC) += malta_smtc.o | ||
| 26 | |||
| 27 | EXTRA_CFLAGS += -Werror | ||
diff --git a/arch/mips/mti-malta/Makefile b/arch/mips/mti-malta/Makefile new file mode 100644 index 000000000000..f8064446e812 --- /dev/null +++ b/arch/mips/mti-malta/Makefile | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | # | ||
| 2 | # Carsten Langgaard, carstenl@mips.com | ||
| 3 | # Copyright (C) 1999,2000 MIPS Technologies, Inc. All rights reserved. | ||
| 4 | # | ||
| 5 | # Copyright (C) 2008 Wind River Systems, Inc. | ||
| 6 | # written by Ralf Baechle <ralf@linux-mips.org> | ||
| 7 | # | ||
| 8 | obj-y := malta-amon.o malta-cmdline.o \ | ||
| 9 | malta-display.o malta-init.o malta-int.o \ | ||
| 10 | malta-memory.o malta-mtd.o \ | ||
| 11 | malta-platform.o malta-reset.o \ | ||
| 12 | malta-setup.o malta-time.o | ||
| 13 | |||
| 14 | obj-$(CONFIG_EARLY_PRINTK) += malta-console.o | ||
| 15 | obj-$(CONFIG_PCI) += malta-pci.o | ||
| 16 | obj-$(CONFIG_KGDB) += malta-kgdb.o | ||
| 17 | |||
| 18 | # FIXME FIXME FIXME | ||
| 19 | obj-$(CONFIG_MIPS_MT_SMTC) += malta_smtc.o | ||
| 20 | |||
| 21 | EXTRA_CFLAGS += -Werror | ||
diff --git a/arch/mips/mips-boards/generic/amon.c b/arch/mips/mti-malta/malta-amon.c index 96236bf33838..96236bf33838 100644 --- a/arch/mips/mips-boards/generic/amon.c +++ b/arch/mips/mti-malta/malta-amon.c | |||
diff --git a/arch/mips/mips-boards/generic/cmdline.c b/arch/mips/mti-malta/malta-cmdline.c index 1871c30ed2eb..1871c30ed2eb 100644 --- a/arch/mips/mips-boards/generic/cmdline.c +++ b/arch/mips/mti-malta/malta-cmdline.c | |||
diff --git a/arch/mips/mips-boards/generic/console.c b/arch/mips/mti-malta/malta-console.c index 43bcfb4f8167..43bcfb4f8167 100644 --- a/arch/mips/mips-boards/generic/console.c +++ b/arch/mips/mti-malta/malta-console.c | |||
diff --git a/arch/mips/mips-boards/generic/display.c b/arch/mips/mti-malta/malta-display.c index 7c8828fcb0ad..7c8828fcb0ad 100644 --- a/arch/mips/mips-boards/generic/display.c +++ b/arch/mips/mti-malta/malta-display.c | |||
diff --git a/arch/mips/mips-boards/generic/init.c b/arch/mips/mti-malta/malta-init.c index c0653021a171..c0653021a171 100644 --- a/arch/mips/mips-boards/generic/init.c +++ b/arch/mips/mti-malta/malta-init.c | |||
diff --git a/arch/mips/mips-boards/malta/malta_int.c b/arch/mips/mti-malta/malta-int.c index ea176113fea9..ea176113fea9 100644 --- a/arch/mips/mips-boards/malta/malta_int.c +++ b/arch/mips/mti-malta/malta-int.c | |||
diff --git a/arch/mips/mips-boards/generic/gdb_hook.c b/arch/mips/mti-malta/malta-kgdb.c index 6a1854de4579..6a1854de4579 100644 --- a/arch/mips/mips-boards/generic/gdb_hook.c +++ b/arch/mips/mti-malta/malta-kgdb.c | |||
diff --git a/arch/mips/mips-boards/generic/memory.c b/arch/mips/mti-malta/malta-memory.c index 61888ff72c87..61888ff72c87 100644 --- a/arch/mips/mips-boards/generic/memory.c +++ b/arch/mips/mti-malta/malta-memory.c | |||
diff --git a/arch/mips/mips-boards/malta/malta_mtd.c b/arch/mips/mti-malta/malta-mtd.c index 8ad9bdf25dce..8ad9bdf25dce 100644 --- a/arch/mips/mips-boards/malta/malta_mtd.c +++ b/arch/mips/mti-malta/malta-mtd.c | |||
diff --git a/arch/mips/mips-boards/generic/pci.c b/arch/mips/mti-malta/malta-pci.c index b9743190609a..b9743190609a 100644 --- a/arch/mips/mips-boards/generic/pci.c +++ b/arch/mips/mti-malta/malta-pci.c | |||
diff --git a/arch/mips/mips-boards/malta/malta_platform.c b/arch/mips/mti-malta/malta-platform.c index 83b9bab3cd3f..83b9bab3cd3f 100644 --- a/arch/mips/mips-boards/malta/malta_platform.c +++ b/arch/mips/mti-malta/malta-platform.c | |||
diff --git a/arch/mips/mips-boards/generic/reset.c b/arch/mips/mti-malta/malta-reset.c index 42dee4da37ba..42dee4da37ba 100644 --- a/arch/mips/mips-boards/generic/reset.c +++ b/arch/mips/mti-malta/malta-reset.c | |||
diff --git a/arch/mips/mips-boards/malta/malta_setup.c b/arch/mips/mti-malta/malta-setup.c index e7cad54936ca..e7cad54936ca 100644 --- a/arch/mips/mips-boards/malta/malta_setup.c +++ b/arch/mips/mti-malta/malta-setup.c | |||
diff --git a/arch/mips/mips-boards/malta/malta_smtc.c b/arch/mips/mti-malta/malta-smtc.c index 5ea705e49454..5ea705e49454 100644 --- a/arch/mips/mips-boards/malta/malta_smtc.c +++ b/arch/mips/mti-malta/malta-smtc.c | |||
diff --git a/arch/mips/mips-boards/generic/time.c b/arch/mips/mti-malta/malta-time.c index 0b97d47691fc..0b97d47691fc 100644 --- a/arch/mips/mips-boards/generic/time.c +++ b/arch/mips/mti-malta/malta-time.c | |||
