mx27: Make the UART port number explicit
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 1 Jul 2011 07:15:52 +0000 (07:15 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 14 Jul 2011 13:41:24 +0000 (15:41 +0200)
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>
arch/arm/cpu/arm926ejs/mx27/generic.c
arch/arm/include/asm/arch-mx27/imx-regs.h
board/logicpd/imx27lite/imx27lite.c

index 27642bfe7dba8a804d21bbbc555c7751d9bb366b..222a8e95eaf51997fee397a0407da4e5d9ff442d 100644 (file)
@@ -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[] = {
index 8f40aa728c8017e621352a75906f7886d242290d..b4b2fe61a6ffa7a695f753e27ddb93fcd9cf7546 100644 (file)
@@ -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
index 6eb5cc2dd6c1d2b74c2d9c9c9a948a7aaa26fc26..cc341f8f5d2e22bd1576b61b7e25872ade09ed51 100644 (file)
@@ -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();