diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-03-16 07:00:17 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-03-16 07:00:17 -0400 |
commit | e9edb3fec2260b5a64e9ca9e09160b74f1b106e3 (patch) | |
tree | f76071f79bd5fafa833245c0135214d8ad5e8d02 /arch/sh | |
parent | 2feb075a33905c2f6ef6be484c75ba6a35f6d12d (diff) |
sh: Consolidate SH-Mobile CPU code in arch/sh/kernel/cpu/shmobile/.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/kernel/cpu/Makefile | 1 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/Makefile | 4 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/shmobile/Makefile | 6 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/shmobile/pm.c (renamed from arch/sh/kernel/cpu/sh4a/pm-sh_mobile.c) | 0 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/shmobile/sleep.S (renamed from arch/sh/kernel/cpu/sh4a/sleep-sh_mobile.S) | 0 |
5 files changed, 7 insertions, 4 deletions
diff --git a/arch/sh/kernel/cpu/Makefile b/arch/sh/kernel/cpu/Makefile index f471d242774e..2600641a483f 100644 --- a/arch/sh/kernel/cpu/Makefile +++ b/arch/sh/kernel/cpu/Makefile | |||
@@ -11,6 +11,7 @@ obj-$(CONFIG_CPU_SH5) = sh5/ | |||
11 | # Special cases for family ancestry. | 11 | # Special cases for family ancestry. |
12 | 12 | ||
13 | obj-$(CONFIG_CPU_SH4A) += sh4a/ | 13 | obj-$(CONFIG_CPU_SH4A) += sh4a/ |
14 | obj-$(CONFIG_ARCH_SHMOBILE) += shmobile/ | ||
14 | 15 | ||
15 | # Common interfaces. | 16 | # Common interfaces. |
16 | 17 | ||
diff --git a/arch/sh/kernel/cpu/sh4a/Makefile b/arch/sh/kernel/cpu/sh4a/Makefile index 09967dc0065a..1a92361feeb9 100644 --- a/arch/sh/kernel/cpu/sh4a/Makefile +++ b/arch/sh/kernel/cpu/sh4a/Makefile | |||
@@ -35,10 +35,6 @@ pinmux-$(CONFIG_CPU_SUBTYPE_SH7723) := pinmux-sh7723.o | |||
35 | pinmux-$(CONFIG_CPU_SUBTYPE_SH7785) := pinmux-sh7785.o | 35 | pinmux-$(CONFIG_CPU_SUBTYPE_SH7785) := pinmux-sh7785.o |
36 | pinmux-$(CONFIG_CPU_SUBTYPE_SH7786) := pinmux-sh7786.o | 36 | pinmux-$(CONFIG_CPU_SUBTYPE_SH7786) := pinmux-sh7786.o |
37 | 37 | ||
38 | # Power Mangement & Sleep mode | ||
39 | pm-$(CONFIG_ARCH_SHMOBILE) := pm-sh_mobile.o sleep-sh_mobile.o | ||
40 | |||
41 | obj-y += $(clock-y) | 38 | obj-y += $(clock-y) |
42 | obj-$(CONFIG_SMP) += $(smp-y) | 39 | obj-$(CONFIG_SMP) += $(smp-y) |
43 | obj-$(CONFIG_GENERIC_GPIO) += $(pinmux-y) | 40 | obj-$(CONFIG_GENERIC_GPIO) += $(pinmux-y) |
44 | obj-$(CONFIG_PM) += $(pm-y) | ||
diff --git a/arch/sh/kernel/cpu/shmobile/Makefile b/arch/sh/kernel/cpu/shmobile/Makefile new file mode 100644 index 000000000000..08bfa7c7db29 --- /dev/null +++ b/arch/sh/kernel/cpu/shmobile/Makefile | |||
@@ -0,0 +1,6 @@ | |||
1 | # | ||
2 | # Makefile for the Linux/SuperH SH-Mobile backends. | ||
3 | # | ||
4 | |||
5 | # Power Management & Sleep mode | ||
6 | obj-$(CONFIG_PM) += pm.o sleep.o | ||
diff --git a/arch/sh/kernel/cpu/sh4a/pm-sh_mobile.c b/arch/sh/kernel/cpu/shmobile/pm.c index 8c067adf6830..8c067adf6830 100644 --- a/arch/sh/kernel/cpu/sh4a/pm-sh_mobile.c +++ b/arch/sh/kernel/cpu/shmobile/pm.c | |||
diff --git a/arch/sh/kernel/cpu/sh4a/sleep-sh_mobile.S b/arch/sh/kernel/cpu/shmobile/sleep.S index 5d888ef53d82..5d888ef53d82 100644 --- a/arch/sh/kernel/cpu/sh4a/sleep-sh_mobile.S +++ b/arch/sh/kernel/cpu/shmobile/sleep.S | |||