[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>
This commit is contained in:
@@ -147,7 +147,7 @@ static void __init dec_be_init(void)
|
||||
extern void dec_time_init(void);
|
||||
extern void dec_timer_setup(struct irqaction *);
|
||||
|
||||
void __init plat_setup(void)
|
||||
void __init plat_mem_setup(void)
|
||||
{
|
||||
board_be_init = dec_be_init;
|
||||
board_time_init = dec_time_init;
|
||||
|
Reference in New Issue
Block a user