Skip to content
Snippets Groups Projects
Commit 4727a13b authored by Stephen Warren's avatar Stephen Warren Committed by Tom Warren
Browse files

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: default avatarStephen Warren <swarren@nvidia.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarTom Warren <twarren@nvidia.com>
parent f29f086a
No related branches found
No related tags found
No related merge requests found
......@@ -112,8 +112,8 @@ static int uart_configs[] = {
FUNCMUX_UART1_SDIO1,
#else
FUNCMUX_UART1_IRRX_IRTX,
#endif
FUNCMUX_UART2_UARTB,
#endif
FUNCMUX_UART2_UAD,
-1,
FUNCMUX_UART4_GMC,
-1,
......
......@@ -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);
}
......
......@@ -35,7 +35,7 @@ enum {
FUNCMUX_UART1_UAA_UAB,
FUNCMUX_UART1_GPU,
FUNCMUX_UART1_SDIO1,
FUNCMUX_UART2_UARTB = 0,
FUNCMUX_UART2_UAD = 0,
FUNCMUX_UART4_GMC = 0,
/* I2C configs */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment