summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/tegra20-common
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2013-01-22 06:20:08 +0000
committerTom Warren <twarren@nvidia.com>2013-02-11 10:35:24 -0700
commit4727a13bde609c22e4152bf13400547acaad29fa (patch)
tree4fa760214c014834b0304bcc0aa5a584804e9c75 /arch/arm/cpu/tegra20-common
parentf29f086a098a8462f8b375da0509246843f7fdd1 (diff)
downloadu-boot-imx-4727a13bde609c22e4152bf13400547acaad29fa.zip
u-boot-imx-4727a13bde609c22e4152bf13400547acaad29fa.tar.gz
u-boot-imx-4727a13bde609c22e4152bf13400547acaad29fa.tar.bz2
tegra: rename FUNCMUX_UART2_UARTB
FUNCMUX_ defines should be named after the pin groups they affect, not after the module they're muxing onto those pin groups. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm/cpu/tegra20-common')
-rw-r--r--arch/arm/cpu/tegra20-common/funcmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/tegra20-common/funcmux.c b/arch/arm/cpu/tegra20-common/funcmux.c
index a1c55a6..80a9bd9 100644
--- a/arch/arm/cpu/tegra20-common/funcmux.c
+++ b/arch/arm/cpu/tegra20-common/funcmux.c
@@ -98,7 +98,7 @@ int funcmux_select(enum periph_id id, int config)
break;
case PERIPH_ID_UART2:
- if (config == FUNCMUX_UART2_UARTB) {
+ if (config == FUNCMUX_UART2_UAD) {
pinmux_set_func(PINGRP_UAD, PMUX_FUNC_UARTB);
pinmux_tristate_disable(PINGRP_UAD);
}