mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-24 20:54:24 +08:00
mx27: Make the UART port number explicit
mx27_uart_init_pins does the IOMUX setting for UART1 port. Change the function name to make the UART port number explicit. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
This commit is contained in:
parent
f456445f29
commit
3f7bfbdd3c
@ -271,7 +271,7 @@ void imx_gpio_mode(int gpio_mode)
|
||||
}
|
||||
|
||||
#ifdef CONFIG_MXC_UART
|
||||
void mx27_uart_init_pins(void)
|
||||
void mx27_uart1_init_pins(void)
|
||||
{
|
||||
int i;
|
||||
unsigned int mode[] = {
|
||||
|
@ -29,7 +29,7 @@
|
||||
extern void imx_gpio_mode (int gpio_mode);
|
||||
|
||||
#ifdef CONFIG_MXC_UART
|
||||
extern void mx27_uart_init_pins(void);
|
||||
extern void mx27_uart1_init_pins(void);
|
||||
#endif /* CONFIG_MXC_UART */
|
||||
|
||||
#ifdef CONFIG_FEC_MXC
|
||||
|
@ -38,7 +38,7 @@ int board_init (void)
|
||||
gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
|
||||
|
||||
#ifdef CONFIG_MXC_UART
|
||||
mx27_uart_init_pins();
|
||||
mx27_uart1_init_pins();
|
||||
#endif
|
||||
#ifdef CONFIG_FEC_MXC
|
||||
mx27_fec_init_pins();
|
||||
|
Loading…
Reference in New Issue
Block a user