diff options
Diffstat (limited to 'arch/mips/txx9/jmr3927/prom.c')
-rw-r--r-- | arch/mips/txx9/jmr3927/prom.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/arch/mips/txx9/jmr3927/prom.c b/arch/mips/txx9/jmr3927/prom.c index 23df38c1490e..70c4c8ec3e84 100644 --- a/arch/mips/txx9/jmr3927/prom.c +++ b/arch/mips/txx9/jmr3927/prom.c | |||
@@ -41,22 +41,6 @@ | |||
41 | #include <asm/txx9/generic.h> | 41 | #include <asm/txx9/generic.h> |
42 | #include <asm/txx9/jmr3927.h> | 42 | #include <asm/txx9/jmr3927.h> |
43 | 43 | ||
44 | #define TIMEOUT 0xffffff | ||
45 | |||
46 | void | ||
47 | prom_putchar(char c) | ||
48 | { | ||
49 | int i = 0; | ||
50 | |||
51 | do { | ||
52 | i++; | ||
53 | if (i>TIMEOUT) | ||
54 | break; | ||
55 | } while (!(tx3927_sioptr(1)->cisr & TXx927_SICISR_TXALS)); | ||
56 | tx3927_sioptr(1)->tfifo = c; | ||
57 | return; | ||
58 | } | ||
59 | |||
60 | void __init jmr3927_prom_init(void) | 44 | void __init jmr3927_prom_init(void) |
61 | { | 45 | { |
62 | /* CCFG */ | 46 | /* CCFG */ |
@@ -65,4 +49,5 @@ void __init jmr3927_prom_init(void) | |||
65 | 49 | ||
66 | prom_init_cmdline(); | 50 | prom_init_cmdline(); |
67 | add_memory_region(0, JMR3927_SDRAM_SIZE, BOOT_MEM_RAM); | 51 | add_memory_region(0, JMR3927_SDRAM_SIZE, BOOT_MEM_RAM); |
52 | txx9_sio_putchar_init(TX3927_SIO_REG(1)); | ||
68 | } | 53 | } |