serial: Rename ns16550 functions to lower case
Lower case should be used for function names. Update this driver and its callers accordingly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
@@ -58,7 +58,7 @@ void board_init_f(ulong bootflag)
|
||||
bus_clk = CONFIG_SYS_CLK_FREQ * plat_ratio;
|
||||
gd->bus_clk = bus_clk;
|
||||
|
||||
NS16550_init((struct ns16550 *)CONFIG_SYS_NS16550_COM1,
|
||||
ns16550_init((struct ns16550 *)CONFIG_SYS_NS16550_COM1,
|
||||
bus_clk / 16 / CONFIG_BAUDRATE);
|
||||
#ifdef CONFIG_SPL_MMC_BOOT
|
||||
puts("\nSD boot...\n");
|
||||
|
||||
@@ -34,7 +34,7 @@ void board_init_f(ulong bootflag)
|
||||
plat_ratio >>= 1;
|
||||
gd->bus_clk = CONFIG_SYS_CLK_FREQ * plat_ratio;
|
||||
|
||||
NS16550_init((struct ns16550 *)CONFIG_SYS_NS16550_COM1,
|
||||
ns16550_init((struct ns16550 *)CONFIG_SYS_NS16550_COM1,
|
||||
gd->bus_clk / 16 / CONFIG_BAUDRATE);
|
||||
|
||||
puts("\nNAND boot... ");
|
||||
@@ -55,9 +55,9 @@ void board_init_r(gd_t *gd, ulong dest_addr)
|
||||
void putc(char c)
|
||||
{
|
||||
if (c == '\n')
|
||||
NS16550_putc((struct ns16550 *)CONFIG_SYS_NS16550_COM1, '\r');
|
||||
ns16550_putc((struct ns16550 *)CONFIG_SYS_NS16550_COM1, '\r');
|
||||
|
||||
NS16550_putc((struct ns16550 *)CONFIG_SYS_NS16550_COM1, c);
|
||||
ns16550_putc((struct ns16550 *)CONFIG_SYS_NS16550_COM1, c);
|
||||
}
|
||||
|
||||
void puts(const char *str)
|
||||
|
||||
Reference in New Issue
Block a user