]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
sh: mach-snapgear: Kill off machtype, consolidate board def.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 29 Oct 2010 10:06:53 +0000 (19:06 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 29 Oct 2010 10:06:53 +0000 (19:06 +0900)
Only the secureedge5410 was ever supported by this code, so make the
board specification explicit rather than perpetuating a mach group.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Makefile
arch/sh/boards/Makefile
arch/sh/boards/board-secureedge5410.c [moved from arch/sh/boards/mach-snapgear/setup.c with 98% similarity]
arch/sh/boards/mach-snapgear/Makefile [deleted file]
arch/sh/configs/secureedge5410_defconfig [moved from arch/sh/configs/snapgear_defconfig with 100% similarity]
arch/sh/include/mach-common/mach/secureedge5410.h [moved from arch/sh/include/mach-common/mach/snapgear.h with 100% similarity]
drivers/rtc/rtc-ds1302.c

index 307b3a4a790b98b61bd3cb893dfa155ff4983e0b..194afbfb01c923ff7ef881c5c6b80cf84a638446 100644 (file)
@@ -133,7 +133,6 @@ machdir-$(CONFIG_SOLUTION_ENGINE)           += mach-se
 machdir-$(CONFIG_SH_HP6XX)                     += mach-hp6xx
 machdir-$(CONFIG_SH_DREAMCAST)                 += mach-dreamcast
 machdir-$(CONFIG_SH_SH03)                      += mach-sh03
-machdir-$(CONFIG_SH_SECUREEDGE5410)            += mach-snapgear
 machdir-$(CONFIG_SH_RTS7751R2D)                        += mach-r2d
 machdir-$(CONFIG_SH_7751_SYSTEMH)              += mach-systemh
 machdir-$(CONFIG_SH_EDOSK7705)                 += mach-edosk7705
index 38ef655cc0f08cfe0f881b053f421e9861412556..4a0ed86af8b1872950f932db2241ecfea796449a 100644 (file)
@@ -2,6 +2,7 @@
 # Specific board support, not covered by a mach group.
 #
 obj-$(CONFIG_SH_MAGIC_PANEL_R2)        += board-magicpanelr2.o
+obj-$(CONFIG_SH_SECUREEDGE5410)        += board-secureedge5410.o
 obj-$(CONFIG_SH_SH2007)                += board-sh2007.o
 obj-$(CONFIG_SH_SH7785LCR)     += board-sh7785lcr.o
 obj-$(CONFIG_SH_URQUELL)       += board-urquell.o
similarity index 98%
rename from arch/sh/boards/mach-snapgear/setup.c
rename to arch/sh/boards/board-secureedge5410.c
index 10eeea96a04b26354332d9cb0995e0fb4d040f52..32f875e8493dede169b70e29ce9c19283264f5f9 100644 (file)
@@ -17,7 +17,7 @@
 #include <linux/module.h>
 #include <linux/sched.h>
 #include <asm/machvec.h>
-#include <mach/snapgear.h>
+#include <mach/secureedge5410.h>
 #include <asm/irq.h>
 #include <asm/io.h>
 #include <cpu/timer.h>
diff --git a/arch/sh/boards/mach-snapgear/Makefile b/arch/sh/boards/mach-snapgear/Makefile
deleted file mode 100644 (file)
index bc92e34..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-#
-# Makefile for the SnapGear specific parts of the kernel
-#
-
-obj-y   := setup.o
index 359d1e04626cb938784290a5700058a3115d7b34..f0d63892264410b23e19753885868cca81071eda 100644 (file)
@@ -35,7 +35,7 @@
 
 #ifdef CONFIG_SH_SECUREEDGE5410
 #include <asm/rtc.h>
-#include <mach/snapgear.h>
+#include <mach/secureedge5410.h>
 
 #define        RTC_RESET       0x1000
 #define        RTC_IODATA      0x0800