aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/sibyte/swarm
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-06-17 20:32:22 -0400
committerRalf Baechle <ralf@linux-mips.org>2006-06-19 12:39:23 -0400
commit2925aba4223f4532e85f0c6f64584b3e0b2849c3 (patch)
tree1a7d38a22db3b745926232d665d6653baa47ee61 /arch/mips/sibyte/swarm
parent7ab2dc41d15f31e9d5472e46148337b4cf7c941c (diff)
[MIPS] Cleanup memory managment initialization.
Historically plat_mem_setup did the entire platform initialization. This was rather impractical because it meant plat_mem_setup had to get away without any kind of memory allocator. To keep old code from breaking plat_setup was just renamed to plat_setup and a second platform initialization hook for anything else was introduced. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sibyte/swarm')
-rw-r--r--arch/mips/sibyte/swarm/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/sibyte/swarm/setup.c b/arch/mips/sibyte/swarm/setup.c
index 4b5f74ff3edd..7f646bc0719c 100644
--- a/arch/mips/sibyte/swarm/setup.c
+++ b/arch/mips/sibyte/swarm/setup.c
@@ -103,7 +103,7 @@ int swarm_be_handler(struct pt_regs *regs, int is_fixup)
103 return (is_fixup ? MIPS_BE_FIXUP : MIPS_BE_FATAL); 103 return (is_fixup ? MIPS_BE_FIXUP : MIPS_BE_FATAL);
104} 104}
105 105
106void __init plat_setup(void) 106void __init plat_mem_setup(void)
107{ 107{
108#if defined(CONFIG_SIBYTE_BCM1x55) || defined(CONFIG_SIBYTE_BCM1x80) 108#if defined(CONFIG_SIBYTE_BCM1x55) || defined(CONFIG_SIBYTE_BCM1x80)
109 bcm1480_setup(); 109 bcm1480_setup();