init_8250()

Initialize an 8250 serial port to 8N1 parameters

Synopsis:

void init_8250 (unsigned address, unsigned baud,
                unsigned clk, unsigned divisor);

Arguments:

address
The location of the port to initialize in memory or I/O space
baud
The baud rate for the port
clk
The frequency of the UART clock. Not used if baud is specified.
divisor
The value to divide clk by to determine the baud rate. Not used if baud is specified.

Description:

The init_8250() function initializes an 8250 serial port to 8N1 parameters. Use this function before calling image_download_8250() to get an IFS over a serial port.

Returns:

None