提交 9aa720b1 编写于 作者: F Fabio Estevam 提交者: Albert ARIBAUD

mx25: Make the UART port number explicit in its setup function

Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
上级 8640c984
...@@ -145,7 +145,7 @@ int cpu_mmc_init (bd_t * bis) ...@@ -145,7 +145,7 @@ int cpu_mmc_init (bd_t * bis)
} }
#ifdef CONFIG_MXC_UART #ifdef CONFIG_MXC_UART
void mx25_uart_init_pins (void) void mx25_uart1_init_pins(void)
{ {
struct iomuxc_mux_ctl *muxctl; struct iomuxc_mux_ctl *muxctl;
struct iomuxc_pad_ctl *padctl; struct iomuxc_pad_ctl *padctl;
......
...@@ -141,9 +141,9 @@ void tx25_fec_init(void) ...@@ -141,9 +141,9 @@ void tx25_fec_init(void)
int board_init() int board_init()
{ {
#ifdef CONFIG_MXC_UART #ifdef CONFIG_MXC_UART
extern void mx25_uart_init_pins(void); extern void mx25_uart1_init_pins(void);
mx25_uart_init_pins(); mx25_uart1_init_pins();
#endif #endif
/* board id for linux */ /* board id for linux */
gd->bd->bi_arch_number = MACH_TYPE_TX25; gd->bd->bi_arch_number = MACH_TYPE_TX25;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册