linux/drivers/serial/mxc_uart_early.c File Reference

Driver for the Freescale Semiconductor MXC serial ports based on drivers/char/8250_early.c, Copyright 2004 Hewlett-Packard Development Company, L.P. by Bjorn Helgaasby. More...


Functions

void __init early_mxcuart_console_write (struct console *co, const char *s, u_int count)


Detailed Description

Driver for the Freescale Semiconductor MXC serial ports based on drivers/char/8250_early.c, Copyright 2004 Hewlett-Packard Development Company, L.P. by Bjorn Helgaasby.

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.


Function Documentation

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.

Parameters:
co the console structure
s the log message to be written to the UART
count length of the message

footer
©  Freescale Semiconductor, Inc., 2007.  All rights reserved.
Freescale Confidential Proprietary
NDA Required
doxygen