[MIPS] Malta: Cleanup organization of code into directories.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 15 Jul 2008 17:44:34 +0000 (18:44 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 15 Jul 2008 17:44:34 +0000 (18:44 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
25 files changed:
arch/mips/Makefile
arch/mips/mips-boards/generic/Makefile [deleted file]
arch/mips/mips-boards/malta/Makefile [deleted file]
arch/mips/mti-malta/Makefile [new file with mode: 0644]
arch/mips/mti-malta/malta-amon.c [moved from arch/mips/mips-boards/generic/amon.c with 100% similarity]
arch/mips/mti-malta/malta-cmdline.c [moved from arch/mips/mips-boards/generic/cmdline.c with 100% similarity]
arch/mips/mti-malta/malta-console.c [moved from arch/mips/mips-boards/generic/console.c with 100% similarity]
arch/mips/mti-malta/malta-display.c [moved from arch/mips/mips-boards/generic/display.c with 100% similarity]
arch/mips/mti-malta/malta-init.c [moved from arch/mips/mips-boards/generic/init.c with 100% similarity]
arch/mips/mti-malta/malta-int.c [moved from arch/mips/mips-boards/malta/malta_int.c with 100% similarity]
arch/mips/mti-malta/malta-kgdb.c [moved from arch/mips/mips-boards/generic/gdb_hook.c with 100% similarity]
arch/mips/mti-malta/malta-memory.c [moved from arch/mips/mips-boards/generic/memory.c with 100% similarity]
arch/mips/mti-malta/malta-mtd.c [moved from arch/mips/mips-boards/malta/malta_mtd.c with 100% similarity]
arch/mips/mti-malta/malta-pci.c [moved from arch/mips/mips-boards/generic/pci.c with 100% similarity]
arch/mips/mti-malta/malta-platform.c [moved from arch/mips/mips-boards/malta/malta_platform.c with 100% similarity]
arch/mips/mti-malta/malta-reset.c [moved from arch/mips/mips-boards/generic/reset.c with 100% similarity]
arch/mips/mti-malta/malta-setup.c [moved from arch/mips/mips-boards/malta/malta_setup.c with 100% similarity]
arch/mips/mti-malta/malta-smtc.c [moved from arch/mips/mips-boards/malta/malta_smtc.c with 100% similarity]
arch/mips/mti-malta/malta-time.c [moved from arch/mips/mips-boards/generic/time.c with 100% similarity]
include/asm-mips/mach-malta/cpu-feature-overrides.h [moved from include/asm-mips/mach-mips/cpu-feature-overrides.h with 100% similarity]
include/asm-mips/mach-malta/irq.h [moved from include/asm-mips/mach-mips/irq.h with 100% similarity]
include/asm-mips/mach-malta/kernel-entry-init.h [moved from include/asm-mips/mach-mips/kernel-entry-init.h with 100% similarity]
include/asm-mips/mach-malta/mach-gt64120.h [moved from include/asm-mips/mach-mips/mach-gt64120.h with 100% similarity]
include/asm-mips/mach-malta/mc146818rtc.h [moved from include/asm-mips/mach-mips/mc146818rtc.h with 100% similarity]
include/asm-mips/mach-malta/war.h [moved from include/asm-mips/mach-mips/war.h with 100% similarity]

index ed8821ac8a8e827add2fb100e2707ed13617100f..36aa690484c831a6195dd5b69e113583969c2d3e 100644 (file)
@@ -307,9 +307,8 @@ cflags-$(CONFIG_LEMOTE_FULONG) += -Iinclude/asm-mips/mach-lemote
 #
 # MIPS Malta board
 #
-core-$(CONFIG_MIPS_MALTA)      += arch/mips/mips-boards/generic/       \
-                                  arch/mips/mips-boards/malta/
-cflags-$(CONFIG_MIPS_MALTA)    += -Iinclude/asm-mips/mach-mips
+core-$(CONFIG_MIPS_MALTA)      += arch/mips/mti-malta/
+cflags-$(CONFIG_MIPS_MALTA)    += -Iinclude/asm-mips/mach-malta
 load-$(CONFIG_MIPS_MALTA)      += 0xffffffff80100000
 all-$(CONFIG_MIPS_MALTA)       := vmlinux.bin
 
diff --git a/arch/mips/mips-boards/generic/Makefile b/arch/mips/mips-boards/generic/Makefile
deleted file mode 100644 (file)
index f7f87fc..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# Carsten Langgaard, carstenl@mips.com
-# Copyright (C) 1999,2000 MIPS Technologies, Inc.  All rights reserved.
-#
-# This program is free software; you can distribute it and/or modify it
-# under the terms of the GNU General Public License (Version 2) as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-# for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
-#
-# Makefile for the MIPS boards generic routines under Linux.
-#
-
-obj-y                          := reset.o display.o init.o memory.o \
-                                  cmdline.o time.o
-obj-y                          += amon.o
-
-obj-$(CONFIG_EARLY_PRINTK)     += console.o
-obj-$(CONFIG_PCI)              += pci.o
-obj-$(CONFIG_KGDB)             += gdb_hook.o
-
-EXTRA_CFLAGS += -Werror
diff --git a/arch/mips/mips-boards/malta/Makefile b/arch/mips/mips-boards/malta/Makefile
deleted file mode 100644 (file)
index db4ad65..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-# Carsten Langgaard, carstenl@mips.com
-# Copyright (C) 2000 MIPS Technologies, Inc.  All rights reserved.
-#
-# This program is free software; you can distribute it and/or modify it
-# under the terms of the GNU General Public License (Version 2) as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-# for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
-#
-# Makefile for the MIPS Malta specific kernel interface routines
-# under Linux.
-#
-
-obj-y := malta_int.o malta_mtd.o malta_platform.o malta_setup.o
-
-# FIXME FIXME FIXME
-obj-$(CONFIG_MIPS_MT_SMTC) += malta_smtc.o
-
-EXTRA_CFLAGS += -Werror
diff --git a/arch/mips/mti-malta/Makefile b/arch/mips/mti-malta/Makefile
new file mode 100644 (file)
index 0000000..f806444
--- /dev/null
@@ -0,0 +1,21 @@
+#
+# Carsten Langgaard, carstenl@mips.com
+# Copyright (C) 1999,2000 MIPS Technologies, Inc.  All rights reserved.
+#
+# Copyright (C) 2008 Wind River Systems, Inc.
+#   written by Ralf Baechle <ralf@linux-mips.org>
+#
+obj-y                          := malta-amon.o malta-cmdline.o \
+                                  malta-display.o malta-init.o malta-int.o \
+                                  malta-memory.o malta-mtd.o \
+                                  malta-platform.o malta-reset.o \
+                                  malta-setup.o malta-time.o
+
+obj-$(CONFIG_EARLY_PRINTK)     += malta-console.o
+obj-$(CONFIG_PCI)              += malta-pci.o
+obj-$(CONFIG_KGDB)             += malta-kgdb.o
+
+# FIXME FIXME FIXME
+obj-$(CONFIG_MIPS_MT_SMTC)     += malta_smtc.o
+
+EXTRA_CFLAGS += -Werror