Commit ea435464 authored by David Daney's avatar David Daney Committed by Ralf Baechle
Browse files

MIPS: Octeon: Export prom_putchar().

The forthcoming watchdog driver will use it.
Signed-off-by: default avatarDavid Daney <>

Signed-off-by: default avatarRalf Baechle <>
parent 22b0763a
......@@ -687,7 +687,10 @@ void __init plat_mem_setup(void)
* Emit one character to the boot UART. Exported for use by the
* watchdog timer.
int prom_putchar(char c)
uint64_t lsrval;
......@@ -701,6 +704,7 @@ int prom_putchar(char c)
cvmx_write_csr(CVMX_MIO_UARTX_THR(octeon_uart), c & 0xffull);
return 1;
void prom_free_prom_memory(void)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment