diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-12-17 00:41:54 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-12-22 04:44:46 -0500 |
commit | 073da9c0de401e8683b6bc76c008a7e0850045d5 (patch) | |
tree | 7b843de420aec114f3ed497813ca9e5913d7e157 /arch/sh/boards/mach-se/7722/setup.c | |
parent | 8c197c3afb4a9026973315cc6a3c189dd8434053 (diff) |
sh: Kill off cf-enabler with extreme prejudice.
Now that the rest of the boards that were using cf-enabler "generically"
have switched to setting up their mappings on their own, only the mach-se
boards were left using it. All of the cf-enabler using mach-se boards
use a special initialization of the MRSHPC windows rather than going
through the special PTE as other SH-4 platforms do. This consolidates
the MRSHPC setup logic, hooks it up on the boards that care, and gets rid
of any and all remaining references to cf-enabler.
This has been long overdue, as cf-enabler has been the bane of
arch/sh/kernel for the last 7 years. Good riddance.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/mach-se/7722/setup.c')
-rw-r--r-- | arch/sh/boards/mach-se/7722/setup.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/sh/boards/mach-se/7722/setup.c b/arch/sh/boards/mach-se/7722/setup.c index 02035bbf2cc2..af84904ed86f 100644 --- a/arch/sh/boards/mach-se/7722/setup.c +++ b/arch/sh/boards/mach-se/7722/setup.c | |||
@@ -15,9 +15,10 @@ | |||
15 | #include <linux/ata_platform.h> | 15 | #include <linux/ata_platform.h> |
16 | #include <linux/input.h> | 16 | #include <linux/input.h> |
17 | #include <linux/smc91x.h> | 17 | #include <linux/smc91x.h> |
18 | #include <mach-se/mach/se7722.h> | ||
19 | #include <mach-se/mach/mrshpc.h> | ||
18 | #include <asm/machvec.h> | 20 | #include <asm/machvec.h> |
19 | #include <asm/clock.h> | 21 | #include <asm/clock.h> |
20 | #include <mach-se/mach/se7722.h> | ||
21 | #include <asm/io.h> | 22 | #include <asm/io.h> |
22 | #include <asm/heartbeat.h> | 23 | #include <asm/heartbeat.h> |
23 | #include <asm/sh_keysc.h> | 24 | #include <asm/sh_keysc.h> |
@@ -147,8 +148,8 @@ static struct platform_device *se7722_devices[] __initdata = { | |||
147 | 148 | ||
148 | static int __init se7722_devices_setup(void) | 149 | static int __init se7722_devices_setup(void) |
149 | { | 150 | { |
150 | return platform_add_devices(se7722_devices, | 151 | mrshpc_setup_windows(); |
151 | ARRAY_SIZE(se7722_devices)); | 152 | return platform_add_devices(se7722_devices, ARRAY_SIZE(se7722_devices)); |
152 | } | 153 | } |
153 | device_initcall(se7722_devices_setup); | 154 | device_initcall(se7722_devices_setup); |
154 | 155 | ||