Skip to content
Snippets Groups Projects
Commit 9aa720b1 authored by Fabio Estevam's avatar Fabio Estevam Committed by Albert ARIBAUD
Browse files

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


Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
parent 8640c984
No related branches found
No related tags found
No related merge requests found
...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment