diff options
-rw-r--r-- | arch/mips/cavium-octeon/setup.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/mips/cavium-octeon/setup.c b/arch/mips/cavium-octeon/setup.c index 7216fbd5d79d..041326e34f4d 100644 --- a/arch/mips/cavium-octeon/setup.c +++ b/arch/mips/cavium-octeon/setup.c | |||
@@ -687,7 +687,10 @@ void __init plat_mem_setup(void) | |||
687 | "cvmx_bootmem_phy_alloc\n"); | 687 | "cvmx_bootmem_phy_alloc\n"); |
688 | } | 688 | } |
689 | 689 | ||
690 | 690 | /* | |
691 | * Emit one character to the boot UART. Exported for use by the | ||
692 | * watchdog timer. | ||
693 | */ | ||
691 | int prom_putchar(char c) | 694 | int prom_putchar(char c) |
692 | { | 695 | { |
693 | uint64_t lsrval; | 696 | uint64_t lsrval; |
@@ -701,6 +704,7 @@ int prom_putchar(char c) | |||
701 | cvmx_write_csr(CVMX_MIO_UARTX_THR(octeon_uart), c & 0xffull); | 704 | cvmx_write_csr(CVMX_MIO_UARTX_THR(octeon_uart), c & 0xffull); |
702 | return 1; | 705 | return 1; |
703 | } | 706 | } |
707 | EXPORT_SYMBOL(prom_putchar); | ||
704 | 708 | ||
705 | void prom_free_prom_memory(void) | 709 | void prom_free_prom_memory(void) |
706 | { | 710 | { |