Commit 270690e00cdb034cd945ab597c24e6aff0227f77
Committed by
Ralf Baechle
1 parent
b431f09d55
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
MIPS: FW: Remove obsolete header file for MTI platforms.
Remove 'arch/mips/include/asm/mips-boards/prom.h' and get rid of all inclusions of it by Malta and SEAD-3 platforms. [ralf@linux-mips.org: Fold in John Crispin <blogic@openwrt.org>'s "MIPS: ar7 powertv build"]. [ralf@linux-mips.org: Fold in John Crispin <blogic@openwrt.org>'s "MIPS: unbreak powertv build"]. [ralf@linux-mips.org: Test. Build. Your. Fscking. Code. Or...] Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
Showing 14 changed files with 4 additions and 61 deletions Side-by-side Diff
- arch/mips/ar7/memory.c
- arch/mips/include/asm/mips-boards/prom.h
- arch/mips/mti-malta/malta-display.c
- arch/mips/mti-malta/malta-init.c
- arch/mips/mti-malta/malta-memory.c
- arch/mips/mti-malta/malta-time.c
- arch/mips/mti-sead3/sead3-display.c
- arch/mips/mti-sead3/sead3-init.c
- arch/mips/mti-sead3/sead3-setup.c
- arch/mips/mti-sead3/sead3-time.c
- arch/mips/powertv/init.c
- arch/mips/powertv/init.h
- arch/mips/powertv/memory.c
- arch/mips/powertv/powertv_setup.c
arch/mips/ar7/memory.c
arch/mips/include/asm/mips-boards/prom.h
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) */ |
arch/mips/mti-malta/malta-display.c
arch/mips/mti-malta/malta-init.c
arch/mips/mti-malta/malta-memory.c
arch/mips/mti-malta/malta-time.c
arch/mips/mti-sead3/sead3-display.c
arch/mips/mti-sead3/sead3-init.c
arch/mips/mti-sead3/sead3-setup.c
arch/mips/mti-sead3/sead3-time.c
arch/mips/powertv/init.c
... | ... | @@ -29,9 +29,10 @@ |
29 | 29 | #include <asm/cacheflush.h> |
30 | 30 | #include <asm/traps.h> |
31 | 31 | |
32 | -#include <asm/mips-boards/prom.h> | |
33 | 32 | #include <asm/mips-boards/generic.h> |
34 | 33 | #include <asm/mach-powertv/asic.h> |
34 | + | |
35 | +#include "init.h" | |
35 | 36 | |
36 | 37 | static int *_prom_envp; |
37 | 38 | unsigned long _prom_memsize; |
arch/mips/powertv/init.h
arch/mips/powertv/memory.c
arch/mips/powertv/powertv_setup.c