diff options
Diffstat (limited to 'arch/mips/txx9/jmr3927/prom.c')
-rw-r--r-- | arch/mips/txx9/jmr3927/prom.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/arch/mips/txx9/jmr3927/prom.c b/arch/mips/txx9/jmr3927/prom.c index 2cadb423face..23df38c1490e 100644 --- a/arch/mips/txx9/jmr3927/prom.c +++ b/arch/mips/txx9/jmr3927/prom.c | |||
@@ -36,6 +36,7 @@ | |||
36 | * 675 Mass Ave, Cambridge, MA 02139, USA. | 36 | * 675 Mass Ave, Cambridge, MA 02139, USA. |
37 | */ | 37 | */ |
38 | #include <linux/init.h> | 38 | #include <linux/init.h> |
39 | #include <linux/kernel.h> | ||
39 | #include <asm/bootinfo.h> | 40 | #include <asm/bootinfo.h> |
40 | #include <asm/txx9/generic.h> | 41 | #include <asm/txx9/generic.h> |
41 | #include <asm/txx9/jmr3927.h> | 42 | #include <asm/txx9/jmr3927.h> |
@@ -56,20 +57,11 @@ prom_putchar(char c) | |||
56 | return; | 57 | return; |
57 | } | 58 | } |
58 | 59 | ||
59 | void | ||
60 | puts(const char *cp) | ||
61 | { | ||
62 | while (*cp) | ||
63 | prom_putchar(*cp++); | ||
64 | prom_putchar('\r'); | ||
65 | prom_putchar('\n'); | ||
66 | } | ||
67 | |||
68 | void __init jmr3927_prom_init(void) | 60 | void __init jmr3927_prom_init(void) |
69 | { | 61 | { |
70 | /* CCFG */ | 62 | /* CCFG */ |
71 | if ((tx3927_ccfgptr->ccfg & TX3927_CCFG_TLBOFF) == 0) | 63 | if ((tx3927_ccfgptr->ccfg & TX3927_CCFG_TLBOFF) == 0) |
72 | puts("Warning: TX3927 TLB off\n"); | 64 | printk(KERN_ERR "TX3927 TLB off\n"); |
73 | 65 | ||
74 | prom_init_cmdline(); | 66 | prom_init_cmdline(); |
75 | add_memory_region(0, JMR3927_SDRAM_SIZE, BOOT_MEM_RAM); | 67 | add_memory_region(0, JMR3927_SDRAM_SIZE, BOOT_MEM_RAM); |