]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mx25: Make the UART port number explicit in its setup function
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 2 Mar 2011 09:14:27 +0000 (10:14 +0100)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Wed, 27 Apr 2011 17:38:05 +0000 (19:38 +0200)
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
arch/arm/cpu/arm926ejs/mx25/generic.c
board/karo/tx25/tx25.c

index c6e114634aba58d5c4c064323bd2a77d054d12c2..76e4b5c39734964beb58df289b1e2710bf01cb5f 100644 (file)
@@ -145,7 +145,7 @@ int cpu_mmc_init (bd_t * bis)
 }
 
 #ifdef CONFIG_MXC_UART
-void mx25_uart_init_pins (void)
+void mx25_uart1_init_pins(void)
 {
        struct iomuxc_mux_ctl *muxctl;
        struct iomuxc_pad_ctl *padctl;
index dc57d5c48506ea33eb128290e2f3a7984dcb1ad3..269858c6eec1ade73d128fb0767a7a330f1a89f2 100644 (file)
@@ -141,9 +141,9 @@ void tx25_fec_init(void)
 int board_init()
 {
 #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
        /* board id for linux */
        gd->bd->bi_arch_number = MACH_TYPE_TX25;