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

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
This commit is contained in:
Fabio Estevam 2011-03-02 10:14:27 +01:00 committed by Albert ARIBAUD
parent 8640c98463
commit 9aa720b145
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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;