mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-29 02:21:31 +00:00
serial: mxc: Code cleanup
- Remove space between #define to macro - Add tab between macro and value Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
45d97511a9
commit
52c14cabda
1 changed files with 94 additions and 97 deletions
|
@ -212,9 +212,7 @@ static void mxc_serial_putc(const char c)
|
||||||
WATCHDOG_RESET();
|
WATCHDOG_RESET();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/* Test whether a character is in the RX buffer */
|
||||||
* Test whether a character is in the RX buffer
|
|
||||||
*/
|
|
||||||
static int mxc_serial_tstc(void)
|
static int mxc_serial_tstc(void)
|
||||||
{
|
{
|
||||||
/* If receive fifo is empty, return false */
|
/* If receive fifo is empty, return false */
|
||||||
|
@ -226,7 +224,6 @@ static int mxc_serial_tstc(void)
|
||||||
/*
|
/*
|
||||||
* Initialise the serial port with the given baudrate. The settings
|
* Initialise the serial port with the given baudrate. The settings
|
||||||
* are always 8 data bits, no parity, 1 stop bit, no start bits.
|
* are always 8 data bits, no parity, 1 stop bit, no start bits.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
static int mxc_serial_init(void)
|
static int mxc_serial_init(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue