Functions | |
void __init | early_mxcuart_console_write (struct console *co, const char *s, u_int count) |
Early serial console for MXC UARTS.
This is for use before the serial driver has initialized, in particular, before the UARTs have been discovered and named. Instead of specifying the console device as, e.g., "ttymxc0", we locate the device directly by its MMIO or I/O port address.
The user can specify the device directly, e.g., console=mxcuart,0x43f90000,115200n8 or platform code can call early_uart_console_init() to set the early UART device.
After the normal serial driver starts, we try to locate the matching ttymxc device and start a console there.
void __init early_mxcuart_console_write | ( | struct console * | co, | |
const char * | s, | |||
u_int | count | |||
) |
This function is called to write the console messages through the UART port.
co | the console structure | |
s | the log message to be written to the UART | |
count | length of the message |
© Freescale Semiconductor, Inc., 2007.
All rights reserved. Freescale Confidential Proprietary NDA Required |
![]() |