diff options
-rw-r--r-- | arch/mips/ar7/memory.c | 1 | ||||
-rw-r--r-- | arch/mips/include/asm/mips-boards/prom.h | 47 | ||||
-rw-r--r-- | arch/mips/mti-malta/malta-display.c | 1 | ||||
-rw-r--r-- | arch/mips/mti-malta/malta-init.c | 1 | ||||
-rw-r--r-- | arch/mips/mti-malta/malta-memory.c | 2 | ||||
-rw-r--r-- | arch/mips/mti-malta/malta-time.c | 2 | ||||
-rw-r--r-- | arch/mips/mti-sead3/sead3-display.c | 1 | ||||
-rw-r--r-- | arch/mips/mti-sead3/sead3-init.c | 1 | ||||
-rw-r--r-- | arch/mips/mti-sead3/sead3-setup.c | 1 | ||||
-rw-r--r-- | arch/mips/mti-sead3/sead3-time.c | 1 | ||||
-rw-r--r-- | arch/mips/powertv/init.c | 3 | ||||
-rw-r--r-- | arch/mips/powertv/init.h | 2 | ||||
-rw-r--r-- | arch/mips/powertv/memory.c | 1 | ||||
-rw-r--r-- | arch/mips/powertv/powertv_setup.c | 1 |
14 files changed, 4 insertions, 61 deletions
diff --git a/arch/mips/ar7/memory.c b/arch/mips/ar7/memory.c index 28abfeef09d6..92dfa481205b 100644 --- a/arch/mips/ar7/memory.c +++ b/arch/mips/ar7/memory.c | |||
@@ -30,7 +30,6 @@ | |||
30 | #include <asm/sections.h> | 30 | #include <asm/sections.h> |
31 | 31 | ||
32 | #include <asm/mach-ar7/ar7.h> | 32 | #include <asm/mach-ar7/ar7.h> |
33 | #include <asm/mips-boards/prom.h> | ||
34 | 33 | ||
35 | static int __init memsize(void) | 34 | static int __init memsize(void) |
36 | { | 35 | { |
diff --git a/arch/mips/include/asm/mips-boards/prom.h b/arch/mips/include/asm/mips-boards/prom.h deleted file mode 100644 index e7aed3e4ff58..000000000000 --- a/arch/mips/include/asm/mips-boards/prom.h +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | /* | ||
2 | * Carsten Langgaard, carstenl@mips.com | ||
3 | * Copyright (C) 2000 MIPS Technologies, Inc. All rights reserved. | ||
4 | * | ||
5 | * ######################################################################## | ||
6 | * | ||
7 | * This program is free software; you can distribute it and/or modify it | ||
8 | * under the terms of the GNU General Public License (Version 2) as | ||
9 | * published by the Free Software Foundation. | ||
10 | * | ||
11 | * This program is distributed in the hope it will be useful, but WITHOUT | ||
12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
14 | * for more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License along | ||
17 | * with this program; if not, write to the Free Software Foundation, Inc., | ||
18 | * 59 Temple Place - Suite 330, Boston MA 02111-1307, USA. | ||
19 | * | ||
20 | * ######################################################################## | ||
21 | * | ||
22 | * MIPS boards bootprom interface for the Linux kernel. | ||
23 | * | ||
24 | */ | ||
25 | |||
26 | #ifndef _MIPS_PROM_H | ||
27 | #define _MIPS_PROM_H | ||
28 | |||
29 | extern char *prom_getcmdline(void); | ||
30 | extern char *prom_getenv(char *name); | ||
31 | extern void prom_init_cmdline(void); | ||
32 | extern void prom_meminit(void); | ||
33 | extern void prom_fixup_mem_map(unsigned long start_mem, unsigned long end_mem); | ||
34 | extern void mips_display_message(const char *str); | ||
35 | extern void mips_display_word(unsigned int num); | ||
36 | extern void mips_scroll_message(void); | ||
37 | extern int get_ethernet_addr(char *ethernet_addr); | ||
38 | |||
39 | /* Memory descriptor management. */ | ||
40 | #define PROM_MAX_PMEMBLOCKS 32 | ||
41 | struct prom_pmemblock { | ||
42 | unsigned long base; /* Within KSEG0. */ | ||
43 | unsigned int size; /* In bytes. */ | ||
44 | unsigned int type; /* free or prom memory */ | ||
45 | }; | ||
46 | |||
47 | #endif /* !(_MIPS_PROM_H) */ | ||
diff --git a/arch/mips/mti-malta/malta-display.c b/arch/mips/mti-malta/malta-display.c index 9bc58a24e80a..ee623339abab 100644 --- a/arch/mips/mti-malta/malta-display.c +++ b/arch/mips/mti-malta/malta-display.c | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <linux/timer.h> | 22 | #include <linux/timer.h> |
23 | #include <asm/io.h> | 23 | #include <asm/io.h> |
24 | #include <asm/mips-boards/generic.h> | 24 | #include <asm/mips-boards/generic.h> |
25 | #include <asm/mips-boards/prom.h> | ||
26 | 25 | ||
27 | extern const char display_string[]; | 26 | extern const char display_string[]; |
28 | static unsigned int display_count; | 27 | static unsigned int display_count; |
diff --git a/arch/mips/mti-malta/malta-init.c b/arch/mips/mti-malta/malta-init.c index 9caadce48bfe..71d753a6c97d 100644 --- a/arch/mips/mti-malta/malta-init.c +++ b/arch/mips/mti-malta/malta-init.c | |||
@@ -30,7 +30,6 @@ | |||
30 | #include <asm/traps.h> | 30 | #include <asm/traps.h> |
31 | #include <asm/fw/fw.h> | 31 | #include <asm/fw/fw.h> |
32 | #include <asm/gcmpregs.h> | 32 | #include <asm/gcmpregs.h> |
33 | #include <asm/mips-boards/prom.h> | ||
34 | #include <asm/mips-boards/generic.h> | 33 | #include <asm/mips-boards/generic.h> |
35 | #include <asm/mips-boards/bonito64.h> | 34 | #include <asm/mips-boards/bonito64.h> |
36 | #include <asm/mips-boards/msc01_pci.h> | 35 | #include <asm/mips-boards/msc01_pci.h> |
diff --git a/arch/mips/mti-malta/malta-memory.c b/arch/mips/mti-malta/malta-memory.c index aacc79602fdd..902ba718a717 100644 --- a/arch/mips/mti-malta/malta-memory.c +++ b/arch/mips/mti-malta/malta-memory.c | |||
@@ -29,8 +29,6 @@ | |||
29 | #include <asm/sections.h> | 29 | #include <asm/sections.h> |
30 | #include <asm/fw/fw.h> | 30 | #include <asm/fw/fw.h> |
31 | 31 | ||
32 | #include <asm/mips-boards/prom.h> | ||
33 | |||
34 | static fw_memblock_t mdesc[FW_MAX_MEMBLOCKS]; | 32 | static fw_memblock_t mdesc[FW_MAX_MEMBLOCKS]; |
35 | 33 | ||
36 | /* determined physical memory size, not overridden by command line args */ | 34 | /* determined physical memory size, not overridden by command line args */ |
diff --git a/arch/mips/mti-malta/malta-time.c b/arch/mips/mti-malta/malta-time.c index a144b89cf9ba..4dbdb2cbdf43 100644 --- a/arch/mips/mti-malta/malta-time.c +++ b/arch/mips/mti-malta/malta-time.c | |||
@@ -39,8 +39,6 @@ | |||
39 | #include <asm/gic.h> | 39 | #include <asm/gic.h> |
40 | 40 | ||
41 | #include <asm/mips-boards/generic.h> | 41 | #include <asm/mips-boards/generic.h> |
42 | #include <asm/mips-boards/prom.h> | ||
43 | |||
44 | #include <asm/mips-boards/maltaint.h> | 42 | #include <asm/mips-boards/maltaint.h> |
45 | 43 | ||
46 | unsigned long cpu_khz; | 44 | unsigned long cpu_khz; |
diff --git a/arch/mips/mti-sead3/sead3-display.c b/arch/mips/mti-sead3/sead3-display.c index e389326cfa42..94875991907b 100644 --- a/arch/mips/mti-sead3/sead3-display.c +++ b/arch/mips/mti-sead3/sead3-display.c | |||
@@ -8,7 +8,6 @@ | |||
8 | #include <linux/timer.h> | 8 | #include <linux/timer.h> |
9 | #include <linux/io.h> | 9 | #include <linux/io.h> |
10 | #include <asm/mips-boards/generic.h> | 10 | #include <asm/mips-boards/generic.h> |
11 | #include <asm/mips-boards/prom.h> | ||
12 | 11 | ||
13 | static unsigned int display_count; | 12 | static unsigned int display_count; |
14 | static unsigned int max_display_count; | 13 | static unsigned int max_display_count; |
diff --git a/arch/mips/mti-sead3/sead3-init.c b/arch/mips/mti-sead3/sead3-init.c index 357c0e105600..562dccf56ee8 100644 --- a/arch/mips/mti-sead3/sead3-init.c +++ b/arch/mips/mti-sead3/sead3-init.c | |||
@@ -12,7 +12,6 @@ | |||
12 | #include <asm/cacheflush.h> | 12 | #include <asm/cacheflush.h> |
13 | #include <asm/traps.h> | 13 | #include <asm/traps.h> |
14 | #include <asm/mips-boards/generic.h> | 14 | #include <asm/mips-boards/generic.h> |
15 | #include <asm/mips-boards/prom.h> | ||
16 | #include <asm/fw/fw.h> | 15 | #include <asm/fw/fw.h> |
17 | 16 | ||
18 | extern char except_vec_nmi; | 17 | extern char except_vec_nmi; |
diff --git a/arch/mips/mti-sead3/sead3-setup.c b/arch/mips/mti-sead3/sead3-setup.c index 14633bc80049..b5059dc899f4 100644 --- a/arch/mips/mti-sead3/sead3-setup.c +++ b/arch/mips/mti-sead3/sead3-setup.c | |||
@@ -11,7 +11,6 @@ | |||
11 | #include <linux/bootmem.h> | 11 | #include <linux/bootmem.h> |
12 | 12 | ||
13 | #include <asm/mips-boards/generic.h> | 13 | #include <asm/mips-boards/generic.h> |
14 | #include <asm/prom.h> | ||
15 | 14 | ||
16 | const char *get_system_type(void) | 15 | const char *get_system_type(void) |
17 | { | 16 | { |
diff --git a/arch/mips/mti-sead3/sead3-time.c b/arch/mips/mti-sead3/sead3-time.c index 239e4e32757f..96b42eb9b5e2 100644 --- a/arch/mips/mti-sead3/sead3-time.c +++ b/arch/mips/mti-sead3/sead3-time.c | |||
@@ -11,7 +11,6 @@ | |||
11 | #include <asm/time.h> | 11 | #include <asm/time.h> |
12 | #include <asm/irq.h> | 12 | #include <asm/irq.h> |
13 | #include <asm/mips-boards/generic.h> | 13 | #include <asm/mips-boards/generic.h> |
14 | #include <asm/mips-boards/prom.h> | ||
15 | 14 | ||
16 | unsigned long cpu_khz; | 15 | unsigned long cpu_khz; |
17 | 16 | ||
diff --git a/arch/mips/powertv/init.c b/arch/mips/powertv/init.c index 5bd9d8f468cc..a01baff52cae 100644 --- a/arch/mips/powertv/init.c +++ b/arch/mips/powertv/init.c | |||
@@ -29,10 +29,11 @@ | |||
29 | #include <asm/cacheflush.h> | 29 | #include <asm/cacheflush.h> |
30 | #include <asm/traps.h> | 30 | #include <asm/traps.h> |
31 | 31 | ||
32 | #include <asm/mips-boards/prom.h> | ||
33 | #include <asm/mips-boards/generic.h> | 32 | #include <asm/mips-boards/generic.h> |
34 | #include <asm/mach-powertv/asic.h> | 33 | #include <asm/mach-powertv/asic.h> |
35 | 34 | ||
35 | #include "init.h" | ||
36 | |||
36 | static int *_prom_envp; | 37 | static int *_prom_envp; |
37 | unsigned long _prom_memsize; | 38 | unsigned long _prom_memsize; |
38 | 39 | ||
diff --git a/arch/mips/powertv/init.h b/arch/mips/powertv/init.h index b194c34ca966..c1a8bd0dbe4b 100644 --- a/arch/mips/powertv/init.h +++ b/arch/mips/powertv/init.h | |||
@@ -23,4 +23,6 @@ | |||
23 | #ifndef _POWERTV_INIT_H | 23 | #ifndef _POWERTV_INIT_H |
24 | #define _POWERTV_INIT_H | 24 | #define _POWERTV_INIT_H |
25 | extern unsigned long _prom_memsize; | 25 | extern unsigned long _prom_memsize; |
26 | extern void prom_meminit(void); | ||
27 | extern char *prom_getenv(char *name); | ||
26 | #endif | 28 | #endif |
diff --git a/arch/mips/powertv/memory.c b/arch/mips/powertv/memory.c index 6e5f1bdc59b5..bc2f3ca22b41 100644 --- a/arch/mips/powertv/memory.c +++ b/arch/mips/powertv/memory.c | |||
@@ -29,7 +29,6 @@ | |||
29 | #include <asm/page.h> | 29 | #include <asm/page.h> |
30 | #include <asm/sections.h> | 30 | #include <asm/sections.h> |
31 | 31 | ||
32 | #include <asm/mips-boards/prom.h> | ||
33 | #include <asm/mach-powertv/asic.h> | 32 | #include <asm/mach-powertv/asic.h> |
34 | #include <asm/mach-powertv/ioremap.h> | 33 | #include <asm/mach-powertv/ioremap.h> |
35 | 34 | ||
diff --git a/arch/mips/powertv/powertv_setup.c b/arch/mips/powertv/powertv_setup.c index 820b8480f222..24689bff1039 100644 --- a/arch/mips/powertv/powertv_setup.c +++ b/arch/mips/powertv/powertv_setup.c | |||
@@ -31,7 +31,6 @@ | |||
31 | #include <asm/bootinfo.h> | 31 | #include <asm/bootinfo.h> |
32 | #include <asm/irq.h> | 32 | #include <asm/irq.h> |
33 | #include <asm/mips-boards/generic.h> | 33 | #include <asm/mips-boards/generic.h> |
34 | #include <asm/mips-boards/prom.h> | ||
35 | #include <asm/dma.h> | 34 | #include <asm/dma.h> |
36 | #include <asm/asm.h> | 35 | #include <asm/asm.h> |
37 | #include <asm/traps.h> | 36 | #include <asm/traps.h> |