diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2011-07-01 07:15:52 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-07-14 15:41:24 +0200 |
commit | 3f7bfbdd3c4df9e0ea8157b0853c791f9b839349 (patch) | |
tree | 1841c7b4571926b52278ebfa1c5b136c791419f7 /arch/arm | |
parent | f456445f29d22bb31ad29fdf1d6b2769decd37a2 (diff) | |
download | u-boot-imx-3f7bfbdd3c4df9e0ea8157b0853c791f9b839349.zip u-boot-imx-3f7bfbdd3c4df9e0ea8157b0853c791f9b839349.tar.gz u-boot-imx-3f7bfbdd3c4df9e0ea8157b0853c791f9b839349.tar.bz2 |
mx27: Make the UART port number explicit
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/cpu/arm926ejs/mx27/generic.c | 2 | ||||
-rw-r--r-- | arch/arm/include/asm/arch-mx27/imx-regs.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/cpu/arm926ejs/mx27/generic.c b/arch/arm/cpu/arm926ejs/mx27/generic.c index 27642bf..222a8e9 100644 --- a/arch/arm/cpu/arm926ejs/mx27/generic.c +++ b/arch/arm/cpu/arm926ejs/mx27/generic.c @@ -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[] = { diff --git a/arch/arm/include/asm/arch-mx27/imx-regs.h b/arch/arm/include/asm/arch-mx27/imx-regs.h index 8f40aa7..b4b2fe6 100644 --- a/arch/arm/include/asm/arch-mx27/imx-regs.h +++ b/arch/arm/include/asm/arch-mx27/imx-regs.h @@ -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 |