mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
[MIPS] Fix and cleanup the mess that a dozen prom_printf variants are.
early_printk is a so much saner thing. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
ca471c8604
commit
36a885306f
42 changed files with 254 additions and 427 deletions
|
|
@ -237,8 +237,6 @@ static inline void lasat_ndelay(unsigned int ns)
|
|||
__delay(ns / lasat_ndelay_divider);
|
||||
}
|
||||
|
||||
extern void (* prom_printf)(const char *fmt, ...);
|
||||
|
||||
#endif /* !defined (_LANGUAGE_ASSEMBLY) */
|
||||
|
||||
#define LASAT_SERVICEMODE_MAGIC_1 0xdeadbeef
|
||||
|
|
|
|||
|
|
@ -28,8 +28,6 @@
|
|||
|
||||
extern char *prom_getcmdline(void);
|
||||
extern char *prom_getenv(char *name);
|
||||
extern void setup_prom_printf(int tty_no);
|
||||
extern void prom_printf(char *fmt, ...);
|
||||
extern void prom_init_cmdline(void);
|
||||
extern void prom_meminit(void);
|
||||
extern void prom_fixup_mem_map(unsigned long start_mem, unsigned long end_mem);
|
||||
|
|
|
|||
|
|
@ -33,9 +33,6 @@ extern int prom_flags;
|
|||
extern void prom_putchar(char c);
|
||||
extern char prom_getchar(void);
|
||||
|
||||
/* Generic printf() using ARCS console I/O. */
|
||||
extern void prom_printf(char *fmt, ...);
|
||||
|
||||
/* Memory descriptor management. */
|
||||
#define PROM_MAX_PMEMBLOCKS 32
|
||||
struct prom_pmemblock {
|
||||
|
|
|
|||
|
|
@ -57,8 +57,6 @@ extern void bcm1480_mask_irq(int cpu, int irq);
|
|||
extern void bcm1480_unmask_irq(int cpu, int irq);
|
||||
extern void bcm1480_smp_finish(void);
|
||||
|
||||
extern void prom_printf(char *fmt, ...);
|
||||
|
||||
#define AT_spin \
|
||||
__asm__ __volatile__ ( \
|
||||
".set noat\n" \
|
||||
|
|
|
|||
Loading…
Reference in a new issue