diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-06-17 20:32:22 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-06-19 12:39:23 -0400 |
commit | 2925aba4223f4532e85f0c6f64584b3e0b2849c3 (patch) | |
tree | 1a7d38a22db3b745926232d665d6653baa47ee61 /arch/mips/gt64120 | |
parent | 7ab2dc41d15f31e9d5472e46148337b4cf7c941c (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/gt64120')
-rw-r--r-- | arch/mips/gt64120/ev64120/setup.c | 2 | ||||
-rw-r--r-- | arch/mips/gt64120/momenco_ocelot/setup.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/gt64120/ev64120/setup.c b/arch/mips/gt64120/ev64120/setup.c index 6d859d1e7a2d..4236da31ecc6 100644 --- a/arch/mips/gt64120/ev64120/setup.c +++ b/arch/mips/gt64120/ev64120/setup.c | |||
@@ -71,7 +71,7 @@ unsigned long __init prom_free_prom_memory(void) | |||
71 | */ | 71 | */ |
72 | extern void gt64120_time_init(void); | 72 | extern void gt64120_time_init(void); |
73 | 73 | ||
74 | void __init plat_setup(void) | 74 | void __init plat_mem_setup(void) |
75 | { | 75 | { |
76 | _machine_restart = galileo_machine_restart; | 76 | _machine_restart = galileo_machine_restart; |
77 | _machine_halt = galileo_machine_halt; | 77 | _machine_halt = galileo_machine_halt; |
diff --git a/arch/mips/gt64120/momenco_ocelot/setup.c b/arch/mips/gt64120/momenco_ocelot/setup.c index 20b65d3d2151..1193a22c4693 100644 --- a/arch/mips/gt64120/momenco_ocelot/setup.c +++ b/arch/mips/gt64120/momenco_ocelot/setup.c | |||
@@ -152,7 +152,7 @@ void PMON_v2_setup() | |||
152 | gt64120_base = 0xe0000000; | 152 | gt64120_base = 0xe0000000; |
153 | } | 153 | } |
154 | 154 | ||
155 | void __init plat_setup(void) | 155 | void __init plat_mem_setup(void) |
156 | { | 156 | { |
157 | void (*l3func)(unsigned long)=KSEG1ADDR(&setup_l3cache); | 157 | void (*l3func)(unsigned long)=KSEG1ADDR(&setup_l3cache); |
158 | unsigned int tmpword; | 158 | unsigned int tmpword; |