rockchip: rv1126: fix typo

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: If26223219d3f0e3d6ca37b6bc0c740411a87fe01
This commit is contained in:
Joseph Chen 2020-09-27 11:29:57 +08:00 committed by Jianhong Chen
parent e7498cb05b
commit b444b7fa1e
1 changed files with 2 additions and 1 deletions

View File

@ -369,6 +369,7 @@ void board_debug_uart_init(void)
#elif defined(CONFIG_DEBUG_UART_BASE) && (CONFIG_DEBUG_UART_BASE == 0xff410000)
static struct rv1126_pmugrf * const pmugrf = (void *)PMUGRF_BASE;
static struct rv1126_grf * const grf = (void *)GRF_BASE;
#if defined(CONFIG_ROCKCHIP_UART_MUX_SEL_M) && \
(CONFIG_ROCKCHIP_UART_MUX_SEL_M == 0)
/* UART1 M0 */
@ -386,7 +387,7 @@ void board_debug_uart_init(void)
UART1_IO_SEL_M1 << UART1_IO_SEL_SHIFT);
/* Switch iomux */
rk_clrsetreg(&topgrf->gpio1d_iomux_l,
rk_clrsetreg(&grf->gpio1d_iomux_l,
GPIO1D1_MASK | GPIO1D0_MASK,
GPIO1D1_UART1_RX_M1 << GPIO1D1_SHIFT |
GPIO1D0_UART1_TX_M1 << GPIO1D0_SHIFT);