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/ddb5xxx | |
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/ddb5xxx')
-rw-r--r-- | arch/mips/ddb5xxx/ddb5074/setup.c | 2 | ||||
-rw-r--r-- | arch/mips/ddb5xxx/ddb5476/setup.c | 2 | ||||
-rw-r--r-- | arch/mips/ddb5xxx/ddb5477/setup.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/ddb5xxx/ddb5074/setup.c b/arch/mips/ddb5xxx/ddb5074/setup.c index 91456b068c2e..4882ad1052e7 100644 --- a/arch/mips/ddb5xxx/ddb5074/setup.c +++ b/arch/mips/ddb5xxx/ddb5074/setup.c | |||
@@ -86,7 +86,7 @@ static void __init ddb_time_init(void) | |||
86 | 86 | ||
87 | 87 | ||
88 | 88 | ||
89 | void __init plat_setup(void) | 89 | void __init plat_mem_setup(void) |
90 | { | 90 | { |
91 | set_io_port_base(NILE4_PCI_IO_BASE); | 91 | set_io_port_base(NILE4_PCI_IO_BASE); |
92 | isa_slot_offset = NILE4_PCI_MEM_BASE; | 92 | isa_slot_offset = NILE4_PCI_MEM_BASE; |
diff --git a/arch/mips/ddb5xxx/ddb5476/setup.c b/arch/mips/ddb5xxx/ddb5476/setup.c index fc8d8bb4849c..101021afb2e4 100644 --- a/arch/mips/ddb5xxx/ddb5476/setup.c +++ b/arch/mips/ddb5xxx/ddb5476/setup.c | |||
@@ -150,7 +150,7 @@ static struct { | |||
150 | 150 | ||
151 | static void ddb5476_board_init(void); | 151 | static void ddb5476_board_init(void); |
152 | 152 | ||
153 | void __init plat_setup(void) | 153 | void __init plat_mem_setup(void) |
154 | { | 154 | { |
155 | set_io_port_base(KSEG1ADDR(DDB_PCI_IO_BASE)); | 155 | set_io_port_base(KSEG1ADDR(DDB_PCI_IO_BASE)); |
156 | 156 | ||
diff --git a/arch/mips/ddb5xxx/ddb5477/setup.c b/arch/mips/ddb5xxx/ddb5477/setup.c index 2f566034cc44..93167ecdb424 100644 --- a/arch/mips/ddb5xxx/ddb5477/setup.c +++ b/arch/mips/ddb5xxx/ddb5477/setup.c | |||
@@ -171,7 +171,7 @@ static void ddb5477_board_init(void); | |||
171 | extern struct pci_controller ddb5477_ext_controller; | 171 | extern struct pci_controller ddb5477_ext_controller; |
172 | extern struct pci_controller ddb5477_io_controller; | 172 | extern struct pci_controller ddb5477_io_controller; |
173 | 173 | ||
174 | void __init plat_setup(void) | 174 | void __init plat_mem_setup(void) |
175 | { | 175 | { |
176 | /* initialize board - we don't trust the loader */ | 176 | /* initialize board - we don't trust the loader */ |
177 | ddb5477_board_init(); | 177 | ddb5477_board_init(); |