console: Replace uartConsoleInit with uart_console_init
Rename camelCase uartConsoleInit function for consistency with the rest of the code in serial console. Change-Id: I519737070538e9c0f52a8d110a3eff68e0185ce2 Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
dfa5f2371b
commit
f1e1897ade
|
@ -293,7 +293,7 @@ static void consoleInit(void)
|
|||
|
||||
uart_init(CONFIG_UART_CONSOLE_INDEX, &info);
|
||||
|
||||
uartConsoleInit();
|
||||
uart_console_init();
|
||||
}
|
||||
|
||||
#else
|
||||
|
|
|
@ -107,7 +107,7 @@ static void consoleInit(void)
|
|||
|
||||
uart_init(CONFIG_UART_CONSOLE_INDEX, &info);
|
||||
|
||||
uartConsoleInit();
|
||||
uart_console_init();
|
||||
}
|
||||
|
||||
#else
|
||||
|
|
|
@ -138,7 +138,7 @@ static void consoleInit(void)
|
|||
info.irq = CONFIG_UART_CONSOLE_IRQ;
|
||||
info.int_pri = CONFIG_UART_CONSOLE_INT_PRI;
|
||||
uart_init(CONFIG_UART_CONSOLE_INDEX, &info);
|
||||
uartConsoleInit();
|
||||
uart_console_init();
|
||||
}
|
||||
|
||||
#else
|
||||
|
|
|
@ -139,7 +139,7 @@ static void consoleInit(void)
|
|||
info.regs = _SysPciMap(addr, size);
|
||||
|
||||
uart_init(CONFIG_UART_CONSOLE_INDEX, &info);
|
||||
uartConsoleInit();
|
||||
uart_console_init();
|
||||
}
|
||||
|
||||
#else
|
||||
|
|
|
@ -194,12 +194,12 @@ void uart_register_handler(void (*cb) (const char *string))
|
|||
|
||||
/******************************************************************************
|
||||
*
|
||||
* uartConsoleInit - initialize one UART as the console/debug port
|
||||
* uart_console_init - initialize one UART as the console/debug port
|
||||
*
|
||||
* RETURNS: N/A
|
||||
*/
|
||||
|
||||
void uartConsoleInit(void)
|
||||
void uart_console_init(void)
|
||||
{
|
||||
__stdout_hook_install(consoleOut);
|
||||
__printk_hook_install(consoleOut);
|
||||
|
|
|
@ -39,7 +39,7 @@ extern "C" {
|
|||
|
||||
#include <cputype.h>
|
||||
|
||||
extern void uartConsoleInit(void);
|
||||
extern void uart_console_init(void);
|
||||
|
||||
/*
|
||||
* Register callback function which gets called when string typed in
|
||||
|
|
Loading…
Reference in a new issue