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 /include/asm-mips | |
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 'include/asm-mips')
-rw-r--r-- | include/asm-mips/bootinfo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-mips/bootinfo.h b/include/asm-mips/bootinfo.h index 14fc88f27226..edf2b9a71c82 100644 --- a/include/asm-mips/bootinfo.h +++ b/include/asm-mips/bootinfo.h | |||
@@ -258,4 +258,10 @@ extern char arcs_cmdline[CL_SIZE]; | |||
258 | * Registers a0, a1, a3 and a4 as passed to the kenrel entry by firmware | 258 | * Registers a0, a1, a3 and a4 as passed to the kenrel entry by firmware |
259 | */ | 259 | */ |
260 | extern unsigned long fw_arg0, fw_arg1, fw_arg2, fw_arg3; | 260 | extern unsigned long fw_arg0, fw_arg1, fw_arg2, fw_arg3; |
261 | |||
262 | /* | ||
263 | * Platform memory detection hook called by setup_arch | ||
264 | */ | ||
265 | extern void plat_mem_setup(void); | ||
266 | |||
261 | #endif /* _ASM_BOOTINFO_H */ | 267 | #endif /* _ASM_BOOTINFO_H */ |